Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - tcollinsworth

Pages: [1]
1
BLE and Low Level Development / Security of uploaded apps RFduino & Simblee
« on: February 20, 2016, 02:24:22 PM »
Is it possible to download the program FLASH OTA? If an RFduino or Simblee is shipped with an encryption key embedded in the code, could that be downloaded OTA using low level NRF51 APIs?

2
The documentation says
- RFduinoBLE_onAdvertisement()
This function allows you to run a piece of code everytime the radio advertises

I'm printing to serial out and toggling an LED and I'm only seeing it called when I call RFduinoBLE.begin and RFduinoBLE.end. It doesn't get called but at begin and end even though the Interval is set to various values.


3
Getting Started / Low Power Mode
« on: August 16, 2014, 01:59:46 PM »
What should the typical rfduino current draw be when in RFduino_ULPDelay(INFINITE) mode? With the RFduino libraries, what can be done to lower the power to the absolute minimum and still wake up on pin change and/or onConnect? The target is to only have to change batteries every few years.

After reading other posts and the Gazell protocol it seems that when RFduinoBLE.begin() is called the Gazell protocol polls every 20-40 mS to see if the host (phone) has a message for the slave. Does the following call set this polling interval RFduinoBLE_update_conn_interval? Yes, setting the RFduinoBLE_update_conn_interval worked and it is now just above 4 uA between polling.

Is it safe to call RFduinoBLE.end() to stop the polling until an pin wakeup event occurs and then turn it back on briefly to transmit the information?

With the rfduino loaded with the stock LedButton sketch, no shields connected, and the iPhone LedButton app running, the rfduino consumes about 260 uA. This isn't very low power relatively speaking. At this current draw, a 3V 2000 mAH lithium battery would last less than 1 year or ~320 days. A CR2032 coin cell battery would last about 1 month.

Pages: [1]
anything