Six new posts / 0
The Last post
Stone_wang
Offline
Last seen:1 week 5 days a line
Joined:The 2015-10-23 03:55
DA14580 host machine switch from a matter of time

sdk3.0.6
Requirements: there are two devices at the same time as the machine (respectively called SlaveA and SlaveB), SlaveA test button, when there is a button activates SlaveA switch to host (MasterA) and search for radio equipment will find SlaveB (theory), and establish a connection, search services, and the corresponding profile data, receives the response after switching back to (SlaveA) from the machine.
The above processes are achieved, test the basic no problem, but time is too slow, sometimes within roughly 1 s response (the whole process with end) sometimes after 3 s to make the response.
Question:
1, the time waste in where?
2, to make the lowest power consumption, the optimal way to ~ the fastest

The following is my way of use:
Broadcast time interval: 500 ms,
The host search parameters:
MSG - > interval = 10;/ / APP_SCAN_INTERVAL;/ / 10 ms?Here not sure if ms
MSG - > Windows = 4;/ / APP_SCAN_WINDOW;/ / 4 ms?
Connection between
Ms, 50 500 ms overtime.
thank you

Device:
snowdream1
Offline
Last seen:10 have 2 weekes line
The Staff
Joined:The 2014-08-17 now
The search parameters, the unit is 625 us.You try to change a bit bigger.

The search parameters, the unit is 625 us.You try to change a bit bigger.
Need to be sure, other key interrupt response from you, to start sending commands, scanning adv package and get the address, then began to establish a connection, all process every step of the time.
Can use rwble_get_clock () to get the timing, the unit 625 us, hardware uart printed directly.Can also be controlled air sniffer file.

pengfei0827
Offline
Last seen:3 years 5 have a line
Joined:The 2018-01-25 08:32
The original poster hello, excuse me 14580 master-slave switch how you

The original poster hello, excuse me 14580 master-slave how you switch switch, can show routines

Stone_wang
Offline
Last seen:1 week 5 days a line
Joined:The 2015-10-23 03:55
476969576

476969576

pengfei0827
Offline
Last seen:3 years 5 have a line
Joined:The 2018-01-25 08:32
Is this your QQ

Is this your QQ

Stone_wang
Offline
Last seen:1 week 5 days a line
Joined:The 2015-10-23 03:55
DA discussion groups

DA discussion groups