您可以在user_config中有能力在user_config中拥有ble .h您可以设置default_sleep_mode = arch_sleep_off。Furthermore to be able to connect with your phone every time, depends on the advertising mode you choose, in your case the most suitable is the undirected advertising mode (for example in non-connectable advertising the device advertises but you can’t connect on it).It’s not necessary to be awake the whole time, the device goes to sleep between the advertising and connection intervals after these events you can be connected.
嗨vrado,
您可以在user_config中有能力在user_config中拥有ble .h您可以设置default_sleep_mode = arch_sleep_off。Furthermore to be able to connect with your phone every time, depends on the advertising mode you choose, in your case the most suitable is the undirected advertising mode (for example in non-connectable advertising the device advertises but you can’t connect on it).It’s not necessary to be awake the whole time, the device goes to sleep between the advertising and connection intervals after these events you can be connected.
谢谢,
sts_dialog。