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.


Messages - tolson

Pages: [1] 2 3 ... 58
1
Hopefully somebody from the RF Digital team will respond with an explanation of what is going on,

2
Simblee For Mobile / Re: App crashing
« on: December 08, 2017, 12:43:31 PM »
onDisconnect is useful to set or reset a flag that indicates if you are connected to a phone or not.
For example if there is no phone connected you don't want to be trying to send something to it.

3
Support / Re: Simblee for Mobile as USB keyboard
« on: December 06, 2017, 01:44:26 PM »
RFduino can not do SFM. Did you mean use a Simblee?

4
ONE mistake.

void SimbleeBLE_onReceive(byte *data, int len)

should be...

void SimbleeBLE_onReceive(char *data, int len)

5
Support / Re: Porting RFduino to Simblee
« on: November 03, 2017, 11:58:11 AM »
Yes, you can port RFduino sketches to Simblee. You do, of course, have to change the references to RFduino API to Simblee API, but everything you can do in RFduino you can do in Simblee. The reverse is not the case if you use advanced Simblee features.

I have some notes here...
https://thomasolson.com/PROJECTS/BLE/Simblee/

6
Support / Re: GZZL + BLE
« on: November 02, 2017, 03:57:21 PM »
There is an example under RFduinoGZLL with BLE. But the trick they are using is turning off BLE while you do GZLL and visa-versa. But, I think the problem arises that the phone looses the BLE connection when you turn off BLE on the RFduino.

Same trick to do it with Simblee. However...
What I want to do is connect to Simblee with Simblee for Mobile as the bridge to then communicate with my RFduino GZLL units using GZLL. There is no support to do this that I have been able to figure out. I want to take advantage of SFM and not have to write a dedicated APP(s). RFdigital suggested using SimbleeCOM, but of course, that doesn't work with RFduinos and the whole point is to get to use Simblee For Mobile with RFduino's even if via a bridge/gateway.






7
Support / Re: Changing Default UART Pins while uploading the sketch
« on: November 01, 2017, 10:45:16 AM »
The bootloader is hardcoded to GPIO 0 and 1. As is the firmware inside the RFduino/Simblee.

Simblee RXD (INPUT) is on GPIO 0 connects to the UART TXD.
Simblee TXD (OUTPUT) is on GPIO 1 connects to the UART RXD.
You can only change the serial port for your application during runtime.
It will always default back to 0,1 on reset.

8
Support / Re: Wake not working
« on: October 26, 2017, 09:02:25 AM »
How will that be different from systemOFF. You had said you have no noise when using that.

9
Support / Re: Wake not working
« on: October 26, 2017, 08:39:37 AM »
systemOFF is OFF. Everything is turned off. It only monitors an input pin as a wakeup interrupt which can turn things back on.

ULP Delay turns some thing off, lowers clock usage, monitors radio if used.

Exactly what it is doing will have to be answered by RFdigital. It would be nice to have those exact details in the documentation.

10
BLE doesn't use I2C at all. It is a software defined radio internal to the Nordic chip. Without getting much into your code, you are using pins that are not available on RFduino, like intPin 12. So some work needs to be done cleaning up.  Not sure why you are using Lazarus. And don't know which MPU9250.h include file is used.

11
Support / Re: Simblee supply issues?
« on: October 18, 2017, 04:03:36 PM »
The above statement equals 3 to 3-1/2 MONTHS. OUCH! It's only been a month.


12
Simblee For Mobile / Re: How to read field from drawTextField
« on: October 15, 2017, 11:46:27 AM »
 To send the text field you have to hit enter in the text field in order to trigger the ui_event callback for the text field.

So, you enter in the data into your text field. Hit enter in the text field. The number gets sent to the ui_event callback where you will store it somewhere until you need it. You can then use your SEND button to initiate whatever routine you want to use to do something with the stored number/text.


13
Simblee For Mobile / Re: How to read field from drawTextField
« on: October 15, 2017, 10:41:56 AM »
Show us how you are trying to do it.

Are you trying to read back what you already outputed to a textfield?
Or are you trying to get input via a text box?

Basics are...

uint8_t myTextFieldID = drawTextField(myX, myY, myW, myNumeral);
or
uint8_t myTextFieldID = drawTextField(myX, myY, myW, myText*);

When the field is changed on the smart device the ui_event callback is triggered.
If it was the textField that changed store it's value in a global if you want to use it elsewhere.

char myTextFieldBuffer[myTextFieldBufferSIZE];

void ui_event(event_t &event)
{

  if( event.id == myTextFieldID}
    {
      strcpy(myTextFieldBuffer,  event.text);
    }

}

 OR for numerals
int16_t myTextFieldNumeral;

void ui_event(event_t &event)
{

  if( event.id == myTextFieldID}
    {
      myTextFieldNumeral = event.value;
    }

}

Or some such!

14
RFduino Libraries / Re: SBUS Library for Arduino not compiling
« on: October 11, 2017, 06:15:39 PM »
First thing is just remove the flag in the library and see what you get.

  SERIALPORT.begin(BAUDRATE);

15
RFduino Libraries / Re: SBUS Library for Arduino not compiling
« on: October 11, 2017, 03:03:14 PM »
The nRF51 hardware UART only supports 1 stop bit.

Pages: [1] 2 3 ... 58