Author Topic: Connection Time  (Read 186 times)

mc-John

  • Global Moderator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Connection Time
« on: July 17, 2016, 06:45:54 pm »
Some people complain about the time it takes to connect to the module. The default is 1 minute and that means that you sometimes have to wait a minute. This is the price to pay for low power. The module just wakes up every minute to see if there is something to do.
There are a number of things you can do to improve the connection time during programming and debugging:
  • Change the connection time to 20 Seconds during testing which can be done in code.
  • Switch to mid-power mode during testing. You can do this in code and the gateway keeps the connection to the module open. Connecting is much faster.
  • Use the development board. The wireless connection is replaced by a 1Mbaud serial connection and all communication is in the milliSec range. Connecting takes less than 100milliSec, there is a specific connect button (see attachment) and you don't use a battery. Not only connecting is fast but also all other operations. When the program hits a breakpoint all variables in scope are displayed. This takes a while to do that over the air but it is immediate on the test device.
I hope this helps.

-John-

Share on Facebook Share on Twitter

Informative Informative x 1 View List