mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
Workign on DFU service.
This commit is contained in:
parent
2db1c43bef
commit
3a9dda7b0b
@ -61,7 +61,7 @@ of beta. */
|
||||
#define DEVICE_NAME "Espruino "PC_BOARD_ID /**< Name of device. Will be included in the advertising data. */
|
||||
#define NUS_SERVICE_UUID_TYPE BLE_UUID_TYPE_VENDOR_BEGIN /**< UUID type for the Nordic UART Service (vendor specific). */
|
||||
|
||||
#define APP_ADV_INTERVAL 1200 /**< The advertising interval (in units of 0.625 ms. This value corresponds to 750ms). */
|
||||
#define APP_ADV_INTERVAL 64 /**< The advertising interval (in units of 0.625 ms. This value corresponds to 750ms). */
|
||||
#define APP_ADV_TIMEOUT_IN_SECONDS 180 /**< The advertising timeout (in units of seconds). */
|
||||
|
||||
#define SCAN_INTERVAL 0x00A0 /**< Scan interval in units of 0.625 millisecond. 100ms */
|
||||
@ -508,7 +508,7 @@ static void ble_evt_dispatch(ble_evt_t * p_ble_evt)
|
||||
static void sys_evt_dispatch(uint32_t sys_evt)
|
||||
{
|
||||
pstorage_sys_event_handler(sys_evt);
|
||||
ble_advertising_on_sys_evt(sys_evt);
|
||||
//ble_advertising_on_sys_evt(sys_evt);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -75,7 +75,7 @@
|
||||
* Maximum value : 254.
|
||||
* Dependencies : None.
|
||||
*/
|
||||
#define DM_GATT_CCCD_COUNT 4
|
||||
#define DM_GATT_CCCD_COUNT 10
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user