Commit Graph

44 Commits

Author SHA1 Message Date
chain40 c8a4a15b3d remove PHY request when connected event.
1. 2M PHY can be requested from either slave or master device.

2. In Elite device, the 2M PHY be requested from master device.
2023-06-07 23:12:29 +08:00
chain40 2f1a013dd4 reset eis char notify enable status 2023-06-07 23:05:00 +08:00
chain40 4f0a383880 bugfix: fix BLE_UUID_EIS_EVENT_CHAR error 2023-06-07 23:04:11 +08:00
charles a2653f7919 To achieve maximum throughput for the BLE dongle.
1. Set the maximum connection interval to 20ms.
2. Refactory pseudo_data_task()
3. Decrease size of regular_data_q
2023-05-25 15:24:22 +08:00
charles 066b436762 bugfix: increase hvn_tx_queue_size for high freq notify 2023-05-25 13:41:58 +08:00
charles fdab23e151 bugfix: fix channel_len (group_length) field miss 2023-05-25 13:08:51 +08:00
charles 386bc17007 bugfix: fix wrong offset for checksum 2023-05-25 11:29:34 +08:00
charles 8ed0921284 regular_data_notify_demo.py bugfix 2023-05-25 11:25:03 +08:00
chain40 3e1d8bfedc implenmet eis_regular_data feature
1. create 2 pseudo task, update freq = 1KHz
2. add regular_data_notify_demo.py for validation
2023-05-25 10:27:17 +08:00
chain40 bb5bf77aa1 update gap/gatt configurtion 2023-05-25 00:15:53 +08:00
chain40 99482ff463 update GAP/GATT configure for ATT MTU
1. set gap data length = 251
2. set gatt mtu = 247
3. increase gap event length (events per connection interval)
4. increase ram usage for softdevice
2023-05-25 00:15:35 +08:00
chain40 adc92b10ac main.c code refactoring
1. remove led1_task, led1_task.
2. send phy update request when conncted.
3. le_evt_handler() ouput more ble event information
2023-05-25 00:08:50 +08:00
chain40 d0d915d69e update freertos configuration
1. remove unused functions
2. increase freertos heap size to 32KB
3. increase max of priorities
2023-05-25 00:06:12 +08:00
chain40 4894838edf Revert "create EIS battery volt update interval characteristic (uint: ms)"
This reverts commit 811bcae588.
2023-05-11 20:34:06 +08:00
charles 811bcae588 create EIS battery volt update interval characteristic (uint: ms)
1.  if battery volt update interval < 100ms, set interval = 100ms
2023-05-11 17:05:28 +08:00
charles 6162d15791 define le_eis_bat_volt_update(). sending notification with the battery volt characteristic , if notification is enable,
1. define on_connect()
2. define on_disconnect()
2023-05-11 14:27:51 +08:00
charles c358f20a8a create battery task 2023-05-11 14:14:30 +08:00
chain40 60fb26518a fix BLE_GATTS_EVT_SYS_ATTR_MISSING issue 2023-05-11 08:12:20 +08:00
chain40 672ccaaa02 set the battery voltage characteristic as a notification characteristic Part 1.
1. register handler for ble events
2. add eis_ccc_update() for CCCD (client characteristic configuration descriptor)
2023-05-11 08:12:14 +08:00
chain40 2f708e0113 create EIS battery volt characteristic, and support read only 2023-05-10 23:19:31 +08:00
chain40 10aed00a1c create EIS service 2023-05-10 23:00:25 +08:00
chain40 d0f90da1fd Merge branch 'device_info_srv' 2023-05-09 21:00:15 +08:00
chain40 da65b6ab49 add device info service 2023-05-09 21:00:09 +08:00
chain40 d114bac8f0 Merge branch 'gatt' 2023-05-09 20:59:42 +08:00
chain40 f6ea58ce38 handle BLE_GAP_EVT_PHY_UPDATE_REQUEST for phy update request 2023-05-09 20:59:28 +08:00
chain40 905cdfee4d add gatt initialization 2023-05-09 19:26:20 +08:00
chain40 0f7c3e9803 Merge branch 'advertising' 2023-05-09 08:10:18 +08:00
chain40 5246b2f867 add manuf_specific_data(custom data) in advertising packet 2023-05-09 08:10:06 +08:00
chain40 a69b875884 remove "appearance" from advertising packet and housekeeping 2023-05-09 08:02:56 +08:00
chain40 414c88aea2 Merge branch 'ble' into develop 2023-05-06 16:13:23 +08:00
chain40 c8c8d6fe73 add le_gap.c / le_adv.c 2023-05-06 16:10:45 +08:00
chain40 88d3e6c7c3 add nrf_sdh_freertos_init() 2023-05-06 15:50:29 +08:00
chain40 d439f4d2ba enable ble stack 2023-05-06 13:28:31 +08:00
chain40 e9d6395085 Merge branch 'freertos' into develop 2023-05-06 10:12:02 +08:00
chain40 b1a2410bc4 add freertos src, and create led1_task / led2_task 2023-05-06 09:51:10 +08:00
chain40 bae6ce612c Merge branch 'nrf_log' 2023-05-05 00:04:25 +08:00
chain40 be090ba669 add nrf log feature 2023-05-05 00:04:09 +08:00
chain40 e856c20748 config segger rtt for nrf log module 2023-05-05 00:03:49 +08:00
chain40 d8aa03950d add .clang-format 2023-05-04 23:57:19 +08:00
chain40 f00fcab6a9 Merge branch 'project' 2023-05-04 23:28:35 +08:00
chain40 9cc591bb37 add app_config.h 2023-05-04 23:21:29 +08:00
chain40 fcc8f6ba44 project init 2023-05-04 23:16:45 +08:00
chain40 e4d31c9c3f create blank solution 2023-05-04 22:36:36 +08:00
LuoYiTing 3eb59b0b30 Initial commit 2023-05-04 01:38:34 +00:00