Most recent activity
Any update about being able to invoke dfu from app/ide? This could be useful when we have no physical access to the button
Increase MTU from 23 to 53. Doubles Bluetooth bandwidth!
Only for that I will upgrade all my devices !
Thanks a lot for all those improvements!
If you need fast RAM to store live pages it could be worth checking at FRAM modules such as this one: https://www.adafruit.com/product/1895
FRAM stands for ferroelectric RAM, which is non-volatile, yet fast for read and write cycles.
because you need to call
i2c.writeTo within the setInterval to send the read command (see step 3 of table 17, page 16 of the datasheet)
The data retrieval is made of 1 Write, followed by 4 Read
There is a sample code for Arduino given by Adafruit: https://github.com/adafruit/Adafruit_MPRLS/blob/master/Adafruit_MPRLS.cpp
Basically the first byte you will receive is the status byte, then the 3 next bytes are meant to be concatenated to form a 24-bit value (see step 3 of table 17, page 16 of the corresponding datasheet). The sample code for this first step is shown here in the code
Once you get your 24-bit value, you need to convert it to a meaningful value, as shown on page 19 of the datasheet or here in the code
I don't think you need to read 5 bytes out of the sensor (
var x = i2c.readFrom(0x18, 5);), IMO you can just try reading 4 bytes, and use the 3 last bytes to calculate the pressure value.
Actually after deeper test, I realize that the boolean returned by
NRF.getSecurityStatus().connected is set to
trueonly if the device is a peripheral, right? if used as a central device (my Bangle requests connection to the MDBT42Q module), I suspect this boolean to stay at
I am using the Bluetooth Widget to know the connection status between my Bangle.js and a MDBT42Q module. I built a specific BLE service. When NRF.on('connect'...) event is raised, I expected to see the BLE logo appear in blue. However, it stays greyed.
From what I see in the widget script , the connection status is based on
Does it make sense to show the BLE widget appears active even if the connection is not secured, maybe with another color, like orange or red?