Workign on DFU service.

This commit is contained in:
mjdietzx 2016-02-08 06:52:10 -08:00
parent 2db1c43bef
commit 3a9dda7b0b
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -75,7 +75,7 @@
* Maximum value : 254.
* Dependencies : None.
*/
#define DM_GATT_CCCD_COUNT 4
#define DM_GATT_CCCD_COUNT 10
/**