Recent Posts

Pages: [1] 2 3 ... 10
1
Support / Re: Slider not reliably logging event
« Last post by JeffNYC on February 21, 2017, 08:04:46 PM »
Also seeing this problem.  Any solutions?
2
Support / RFduino_pinWakeCallback BUG
« Last post by swangy on February 20, 2017, 02:44:00 PM »
so i have one BUTTON_PIN interrupt that sits LOW and goes HIGH when active
and a second ALARM_PIN interrupt that sits HIGH and goes LOW when active

using the simple code  below, BOTH functions fire when i active only the BUTTON_PIN interrupt... can anyone else confirm this bug or clarify what i'm doing wrong?  thanks!

Code: [Select]

#include <RFduinoBLE.h>

#define BUTTON_PIN 3
#define ALARM_PIN 2

void setup() {

  Serial.begin(9600);
 
  pinMode(BUTTON_PIN,INPUT); 
  pinMode(ALARM_PIN,INPUT); 

  RFduinoBLE.begin();
  RFduino_pinWakeCallback(BUTTON_PIN, HIGH, onButtonPush);   
  RFduino_pinWakeCallback(ALARM_PIN, LOW, onAlarm);   
}

void loop() {
   RFduinoBLE_ULPDelay(INFINITE);
}


int onButtonPush(uint32_t ulPin) {   
  Serial.print("button pushed pin "); 
  Serial.println(ulPin);
   
  RFduino_resetPinWake(BUTTON_PIN);   // resetting the pin puts BLE back to sleep   
  return 1;
}


int onAlarm(uint32_t ulPin) {
  Serial.print(" alarm fired pin ");
  Serial.println(ulPin);

  RFduino_resetPinWake(ALARM_PIN);   // resetting the pin puts BLE back to sleep
 
  return 1;
}

3
Support / Re: OTA use Android
« Last post by tolson on February 19, 2017, 07:28:58 AM »
You have to use nrfutil 0.5.2. The newer ones don't work with Simblee. The protocol is different.
4
Support / Re: OTA use Android
« Last post by beanstalkhk on February 18, 2017, 10:53:54 PM »
Hello,

can We use Android or other except iPhone device be a DFU controller , and has example code or document ?

Thanks
 :)

That topic is ...
Simblee - OTA programming
The diatribe is...
http://forum.rfduino.com/index.php?topic=1273.msg5455#msg5455
It disusses using nrfutil to get your projects .hex file into the format needed for DFU.
Then you can use NRF Toolbox on either Android or iOS to load into your Simblee.
Both nrfutil and NRFtoolbox are from Nordic.

Hi tolson,
I look the link you give, but not secuess for me. Now I use OS Windows10 with installed Python 2.7.10 & nrfutil 2.5. And nrfutil 2.5 command option is diffrence with the example. nrfutil version 2.5 to generate a zip file is request the options --hw-version & where the --key-file ! I just use a key file "private.pem" is generate from nrfutil itself , I dont known is it work or not. and I got a zip file by the command line as ...

"nrfutil pkg generate %1.zip --application %1.hex --application-version 0xffff --hw-version 0xffff --sd-req 0xfffe --key-file private.pem"

And use nRFToolbox with select generated zip file to UPLOAD, but result from nRFToolbox is "Upload failed: REMOTE DFU OPERATION FAILED". the Simblee is installed example sketch "LedButtonWithOTABootloader" from simblee.

I think is nrfutil options is not correct, e.g. application, hardware version & the key. I hope Simblee will be make a youtube video for OTA tutorial, because is important for a product.

Thanks
5
Getting Started / Re: Can I have 1 rfduino server with multiple (4) rfduino clients?
« Last post by tolson on February 18, 2017, 04:35:45 PM »
No with BLE protocol. Yes with Gazell protocol.
6
Getting Started / Can I have 1 rfduino server with multiple (4) rfduino clients?
« Last post by nicoshi on February 18, 2017, 01:36:45 PM »
I'm trying to make a wireless project with 1 center server with 4 connections.

Can it be one rfduino with another 4 rfduinos?

How many more clients can I use until it exceeds its limit?

Thanks
7
Support / Re: Simblee - OTA programming?
« Last post by lpercifield on February 16, 2017, 10:12:12 AM »
Hey All,
I want to share my success with OTA programming of the Simblee. Following many of the other comments in this topic, I created a replacement Simblee 1.1.0 package that includes the option to export a .ZIP file that is usable for OTA programming in the NRF Connect IOS and Android apps.

This only will currently work for Mac, and possibly Linux, but definitely not Windows, as the compiled nrfutil app is for unix.

Simply replace you Simblee 1.1.0 folder in the /Users/USERNAME/Library/Arduino15/packages/Simblee/hardware or ArduinoAPP/portable (I don't use this way so might be different)

Here is the download link: https://drive.google.com/file/d/0BxAtlnCAUaO9OVhXMEx6ZUFJZzg/view?usp=sharing

**RFDIGITAL People**
What are the implications of redistributing your Simblee package?? Is this something that can be put in Github so that it can be more easily modified and distributed??

Leif
8
Support / Re: Simblee - OTA programming?
« Last post by lpercifield on February 16, 2017, 10:02:52 AM »
Nick,
As far as I know, SimbleeCOM disables "standard" ble, unless you use dual_mode.

The SimbleeCOM ReceiveWithOTABootloaded example shows how to implement OTA with SimbleeCOM:
Code: [Select]
#include "ota_bootloader.h"

#include "SimbleeCOM.h"

void setup() {
  Serial.begin(9600);
 
  SimbleeCOM.begin();
}

void loop() {
}

void SimbleeCOM_onReceive(unsigned int esn, const char *payload, int len, int rssi)
{
  printf("%d ", rssi);
  printf("0x%08x ", esn);
  for (int i = 0; i < len; i++)
    printf("%02x ", payload[i]);
  printf("\n");
 
  if (strcmp(payload, "OTA") == 0)
    ota_bootloader_start();
}
9
Support / Re: Maximum Data rate
« Last post by lpercifield on February 15, 2017, 05:29:31 AM »
In working with OpenBCI (OpenBCI.com) we found that close to 16Kbps is a safe speed. Reliability was important, so we chose this speed based on reduced packet drops at the receiver. I don't imagine being able to push the transfer to 100 Kbps. 1Mbs is the max throughput that the radio layer can support and is possible using protocols other than BLE.
10
Support / Re: Maximum Data rate
« Last post by tolson on February 14, 2017, 10:32:48 AM »
It would appear that no one knows enough to answer. The rate should be the same for RFduino, Nordic nRF51822, etc.

There has been answers to similar experiments in the past. Perhaps searching for it.

The best way to find out is to try some experiments.
Pages: [1] 2 3 ... 10