Recent Posts

Pages: [1] 2 3 ... 10
1
Simblee Libraries / Re: Simblee Library 1.1.4 is live
« Last post by rtvoorhees on September 23, 2017, 07:53:46 AM »
Where is the code for the Simblee For Mobile – Visualizing data from multiple sensors with Simblee video?

Thanks,

Bob
2
Support / An observation on SimbleeCOM.mode = LOW_LATENCY and ULPDelay
« Last post by StillAlive5 on September 20, 2017, 02:38:58 PM »
These are not compatible.  In the SimbleeCOM example code below try commenting and uncommenting the LOW_LATENCY line.  Does anyone know why this breaks?  In Dual mode you apparently have to use LOW_LATENCY because the com window is small (10 mS?).  For ULPDelay, you can't use it.

/*
 * Copyright (c) 2015 RF Digital Corp. All Rights Reserved.
 *
 * The source code contained in this file and all intellectual property embodied in
 * or covering the source code is the property of RF Digital Corp. or its licensors.
 * Your right to use this source code and intellectual property is non-transferable,
 * non-sub licensable, revocable, and subject to terms and conditions of the
 * SIMBLEE SOFTWARE LICENSE AGREEMENT.
 * http://www.simblee.com/licenses/SimbleeSoftwareLicenseAgreement.txt
 *
 * THE SOURCE CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
 *
 * This heading must NOT be removed from this file.
 */

#include "SimbleeCOM.h"

char payload[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };

void setup() {
  SimbleeCOM.begin();
  SimbleeCOM.txPowerLevel=-4;
 // SimbleeCOM.mode = LOW_LATENCY;
}

void loop() {
  SimbleeCOM.send(payload, sizeof(payload));
  SimbleeCOM.end();
  Simblee_ULPDelay(100);
  SimbleeCOM.begin();
}

void SimbleeCOM_onReceive(unsigned int esn, const char *payload, int len, int rssi)
{
}

 
3
Support / An observation on Simblee power consumption
« Last post by StillAlive5 on September 20, 2017, 01:30:09 PM »
Something that is obvious in hindsight, but I was not expecting.  In the modified SimbleeCom send example below.  The current consumption of an unconnected (except power of course) RFD77203 will change from a few mA to over 16 mA if a receive interrupt is simply present in the code.  So if there is an on_receive interrupt the radio is being kept on at all times.  If there is not, it is powering down between sends.  Just comment out the on_Receive below to see the difference.

/*
 * Copyright (c) 2015 RF Digital Corp. All Rights Reserved.
 *
 * The source code contained in this file and all intellectual property embodied in
 * or covering the source code is the property of RF Digital Corp. or its licensors.
 * Your right to use this source code and intellectual property is non-transferable,
 * non-sub licensable, revocable, and subject to terms and conditions of the
 * SIMBLEE SOFTWARE LICENSE AGREEMENT.
 * http://www.simblee.com/licenses/SimbleeSoftwareLicenseAgreement.txt
 *
 * THE SOURCE CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
 *
 * This heading must NOT be removed from this file.
 */

#include "SimbleeCOM.h"

char payload[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };

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

void loop() {
  SimbleeCOM.send(payload, sizeof(payload));
//  SimbleeCOM.end();
//  Simblee_ULPDelay(100);
//  SimbleeCOM.begin();
  delay(100);
}

void SimbleeCOM_onReceive(unsigned int esn, const char *payload, int len, int rssi)
{
}
4
Support / Re: Cant get SimbleeCloud Service to work
« Last post by AKotowski on September 19, 2017, 09:23:32 AM »
Michael:

I can run as you do.  My problem is when I try to insert a service in the loop:  device<->mobile<->cloud<->service<->custom HTML page.
Then it stops working, either because the servie routine does not work(but I used the routine in the example) or because the communications chain is broken(I suspect this is the problem).

Andy Kotowski
5
Support / Re: Cant get SimbleeCloud Service to work
« Last post by AKotowski on September 19, 2017, 09:18:39 AM »
Thanks for your reply. 

1.) Can I use the service routine provided by simblee at https://service.simbleecloud.com, or do I have to provide my own?
2.) If I provide my own can it be on a LAN address: 192.168.0.8 if my phone is connected to my LAN?
3.) Or do I need to provide the service routine on a public website?
4.) I assume I cant run it on my desktop.  I can run the php file using a file on my desktop, but nothing happens.  I assume this is because  the service is connected to my desktop, not simblee cloud.

Thanks.

A Kotowski
6
Suggestions / Re: SimbleForMobile Data acquisition
« Last post by RFD_Nelson on September 19, 2017, 07:49:00 AM »
Hi AKotowski,

Thank you for your input! We take all user input into account when we create a new release and I'll be sure to enter this in with our development team!

Thanks,

Nelson
7
Suggestions / Re: SimbleForMobile
« Last post by RFD_Nelson on September 19, 2017, 07:48:11 AM »
Hi AKotowski,

Due to the nature of Simblee for Mobile's architecture, the app relies on the Simblee device and application to send it the correct messages. Should something be called out of turn, Simblee for Mobile is unaware that this condition is actually an error. It is up to the application on the Simblee device to relay the correct messages at the right time.

However, if you have questions about best practices, be sure to ask, and we'll be happy to help!

For instance:

1. The SimbleeForMobile.process() call should be only be used once in the loop() function.
2. SimbleeForMobile.updatable() should always be used before updating screen elements.
3. Elements that are not displayed should not be updated and you should use SimbleeForMobile.updatable() before making any screen updates.
4. Anything after SimbleeForMobile.endScreen() may not be shown and also will not be cached, so you want to draw your objects then update them after the SimbleeForMobile.endScreen().

Thanks,

Nelson
8
Support / Re: Cant get SimbleeCloud Service to work
« Last post by RFD_Nelson on September 19, 2017, 07:41:32 AM »
Hi AKotowski/tolson,

How can I help with the issues you're having? To use a service, create a PHP page including the SimbleeCloud.php script accessible from the Cloud demos. You can find that example .zip file at: https://service.simbleecloud.com/demo.zip.

Then, create a service in your cloud dashboard and assign it an ESN. Once you have that ESN, send data to your service using cloud.send(destESN, data, len);. You should see the data arrive at your service and be accessible through the SimbleeCloud instance in your PHP script.

Can I answer any questions on this process?

Thanks,

Nelson
9
Support / Re: Cant get SimbleeCloud Service to work
« Last post by Michael Anderson on September 19, 2017, 07:39:06 AM »
I added the cloud sketch into a custom sketch and it worked great between device<->mobile<->cloud<->custom HTML page
however this was running off library 1.0.3 and had some stability bugs.

I updated to 1.1.4 and noticed some improvements on stability bugs but realized the custom HTML page no longer is connected to the device, until the device pushes a button state change to the cloud (which in turn updates HTML page and briefly displays connected before disconnecting again).

Sounds like you are also having a similar connection issues for your service as I am.

I am curious if your service connection might start working if you copy and run your sketch on library 1.0.3?
10
Hello lsnyman,

The Simblee for Mobile Android application cannot currently maintain a connection when focus is lost from the app. During an OTA update, the Simblee for Mobile app will be disconnected anyways, as advertising stops, then continues as DfuTarg. In OTA, even if the app could maintain the connection when focus is lost, OTA would break that connection.

I hope this explains the reasoning behind the app disconnection.

Thanks,

Nelson
Pages: [1] 2 3 ... 10