Commit Graph

637 Commits

Author SHA1 Message Date
Martin Woolley 4ad61def37 Support for Just Works pairing 2016-09-28 13:44:37 +01:00
Joe Finney 6e755d0b2c Merge pull request #215 from showio/master
Added connectable flag to advertise eddystoneurl func
2016-09-28 11:25:14 +01:00
Thomas Beverley c95c8e32ae Added connectable flag to advertise eddystoneurl func 2016-09-28 10:07:48 +00:00
Joe Finney 73093aa2f5 Merge pull request #214 from showio/master
Added physical web transmission
2016-09-28 10:15:53 +01:00
Thomas Beverley 05f60d018c Renamed physical web to be eddystone url 2016-09-27 13:01:49 +00:00
Thomas Beverley 93f22b33a1 Fixed internval typo 2016-09-27 10:33:58 +00:00
Thomas Beverley 145d8c3d7a Optionally include physical web code depending on microbit-dal.bluetooth.physical_web from the config.json file 2016-09-27 10:27:59 +00:00
Thomas Beverley 93917402e6 Changed uint8_t to be int8_t for calibration and added transmission interval as optional parameter to physical web transmission 2016-09-27 10:01:54 +00:00
Thomas Beverley 95dc970024 Fixed typo in callibratedPower -> calibratedPower 2016-09-27 08:13:44 +00:00
Thomas Beverley 5617cc600d Added ManagedString variant to advertisePhysicalWebUrl. Renamed stopAdvertise to stopAdvertising. Improved the docs around these two methods 2016-09-27 08:05:30 +00:00
Thomas Beverley 2f0db1ed2c Added physical web transmission 2016-09-26 12:26:13 +00:00
Joe Finney 9c79ef729b microbit: Added MicroBitFile Object Oriented API 2016-09-16 17:31:20 +01:00
Joe Finney 89987a265a microbit: Remove redundant code 2016-09-16 16:48:27 +01:00
Joe Finney 1484fce941 microbit: Minor improvmeents to reduce uneccessary erasures of FLASH pages 2016-09-16 16:28:01 +01:00
Joe Finney 052b6d206f microbit: correct initialisation of root directory 2016-09-15 20:19:33 +01:00
Joe Finney 2237c764d8 microbit: First clean compile for micro:bit 2016-09-15 08:52:01 +01:00
Joe Finney b71d1e37a1 microbit: Initial merge of file fystem codebase 2016-09-15 07:19:09 +01:00
James Devine 5fa55812c7 Merge pull request #207 from lancaster-university/emptystring
Make sure there is only one empty string
2016-09-14 21:05:05 -07:00
Martin Woolley 3cf56b8f44 Merge pull request #209 from bluetooth-mdw/master
PWM Control characteristic added to IO Pin Service
2016-09-01 06:08:48 +01:00
Martin Woolley b73be32eeb removed serial debug output 2016-09-01 06:04:01 +01:00
Martin Woolley 6c4fa882a3 Added PWM Control characteristic to the IO Pin Service 2016-08-31 12:11:26 +01:00
Martin Woolley 383b8b18b3 Added PWM Control characteristic to the IO Pin Service 2016-08-31 12:09:20 +01:00
Michal Moskal 1942b2840b Make sure there is only one empty string 2016-08-30 15:30:01 +02:00
James Devine 7c020d14bc Merge pull request #190 from stigbjorlykke/malloc-doc
microbit-dal: fix malloc documentation
2016-07-31 18:09:17 +01:00
James Devine d35f050d7c Merge pull request #188 from stigbjorlykke/master
microbit-dal: minor spelling corrections
2016-07-31 18:09:02 +01:00
Stig Bjørlykke e2ec58b434 microbit-dal: fix malloc documentation 2016-07-30 22:42:19 +02:00
Stig Bjørlykke 250780f1f5 microbit-dal: minor spelling corrections 2016-07-30 14:59:37 +02:00
James Devine 9b1bac5c6a Merge pull request #186 from bluetooth-mdw/master
Interrupt animation when text or pattern written to the BLE LED service
2016-07-27 10:47:01 +01:00
Martin Woolley cfa662de1b Fixed indents 2016-07-27 06:48:03 +01:00
Martin Woolley 6e4dc2d2d9 Interrupt animation when text or pattern written to the BLE LED service 2016-07-25 11:24:37 +01:00
Joe Finney ff547977af microbit: Removed dependency on microbit target for MicroBitDisplay
- removed ROW1 and COL1 dependencies that are defined in the bbc-microbit
   family of mbed targets, so that microbit-dal can be compiled for other mbed
   targets. #172

 - removed legacy reference to the default microbitMatrixMap in
   MicroBitDisplay, in favour of the map configured through the constructor.
2016-07-05 16:37:31 +01:00
James Devine b169a98e9a Merge pull request #176 from whs-che/master
Protection from ISR added to queueDepth counter (#175 )
2016-07-01 11:23:30 +01:00
Charles Hemming 4fd5b0b62e Protection from ISR added to queueDepth counter (#175 ) 2016-06-30 19:09:42 +01:00
James Devine 862528bb93 microbit-dal: minor spelling corrections
Courtesy of @gbaman
2016-06-04 00:39:00 +01:00
James Devine c028238147 microbit-dal: moved to v2.0.0-rc4 2016-06-04 00:10:33 +01:00
James Devine 05c03b06fa microbit-dal: added validation to send [#151] 2016-06-04 00:06:05 +01:00
Joe Finney a962befe74 Merge pull request #159 from lancaster-university/bugfix-145-shake-hard-to-trigger
Bugfix 145 shake hard to trigger
2016-06-03 23:11:48 +01:00
Joe Finney 00674e3457 microbit: Tuning and furhter debounce of SHAKE gesture
- Added timeout code to prevent over-generation of SHAKE events.
 - Tuning of SHAKE detection parameters to align sensitivity with existing
   microbit.co.uk algorithm
2016-06-03 23:06:22 +01:00
Joe Finney 07b6f7f6b6 microbit: CRC check bugfix to MicroBitRadio #150
Integrated @whs-che patch as documented in #150, which prevents packets with a
failed CRC checksum from being processed.
2016-06-03 22:43:23 +01:00
Joe Finney f214bc9625 Merge pull request #158 from lancaster-university/156-readDigitalValuePullOverload
microbit: Added getDigitalValue overload for PullMode #156
2016-06-03 22:31:47 +01:00
Joe Finney 4cf48035d5 microbit: Added getDigitalValue overload for PullMode #156
- Introduced an overload to MicroBitIOPin::getDigitalValue() to permit the
setting of a specific pull mode at the time of reading.

 - Bugfix of MicroBitIOPin::setPull() to persist preferred pull settings

 - Added configuration options to allow the default PullMode to be set via
   compile time option through MicroBitConfig.h or YOTTA_CONFIG
2016-06-03 21:48:31 +01:00
James Devine 179b32fef4 microbit-dal: BUGFIX serial.redirect() [#149]
Removed a call to serial_free() that removed state for the tx and rx
interrupts, without tearing down any configured interrupts.
2016-05-27 14:19:00 +01:00
James Devine 64042e4a5e microbit-dal: BUGFIX cast in MicroBitSerial from int to char
There was an unnecessary cast in MicroBitSerial.read that meant error
codes would never be returned to the user application, this has now
been removed.
2016-05-26 16:23:53 +01:00
James Devine ee2af2c489 microbit-dal: MicroBitSerial +1 to buffer sizes, to give usable buffer of the size requested 2016-05-25 17:04:59 +01:00
James Devine 158eb43b5b microbit-dal: MicroBitSerial.[eventOn, eventAfter] clarity
The documentation for MicroBitSerial.[eventOn, eventAfter] is now
clearer on what events are generated.
2016-05-25 17:01:14 +01:00
James Devine bf58aac76a microbit-dal: Added send modes to the UART service. [#146]
Added a blocking send to the UART service for the case when the bytes
to transmit is greater than the size of the transmission buffer.

The characteristics have now diverged from the BLE_API’s
implementation, and are now more semantic.

Send now returns an error code if there is no device connected, or
indications have not been enabled.

Debug statements have also been removed.
2016-05-25 16:57:36 +01:00
James Devine 94b4a29a7b microbit-dal: BUGFIX when using the nosd target
When using the nosd target, a hard fault would be generated if soft
device wasn’t in use.
2016-05-25 16:53:00 +01:00
James Devine a3615605e3 microbit-dal: suppressed warning when the information service is disabled. 2016-05-25 16:51:02 +01:00
Joe Finney e53abf3091 microbit: Updates to shake gesture recogniser to increase sensitivity [issue #145]
- Code cleanup of shake recogniser
- Increased sensitivity of shake gesture
- SHAKE event now raised on each shake detected
2016-05-14 11:33:48 +01:00
James Devine 9dbe43f0cb microbit-dal: BUGFIX for wait[_us,_ms] in an ISR.
Previously if a user used wait[_us,_ms] in interrupt context,
the device would hang indefinitely due to a previous patch
in the mbed classic library.

This commit updates the reference to mbed-classic, which has
the appropriate fix.
2016-05-13 16:59:48 +01:00