Commit Graph

50 Commits

Author SHA1 Message Date
Roy_01 2bf247c103 new twi0 (i2c0) 2023-12-27 14:50:14 +08:00
Roy_01 c4bb2fec1f new spim2 2023-12-27 14:43:07 +08:00
Roy_01 0e9a2baa56 new spim1 for LED use 2023-12-27 13:42:32 +08:00
Roy_01 9faf9f8692 updated many pin configuration and enable RT6994 after one second 2023-12-27 11:56:38 +08:00
Roy_01 4cecf11510 modify the LED pin configuration, enable 5V and 12V power 2023-12-27 10:08:32 +08:00
chain40 d6f62f8b22 add led driver 2023-10-24 20:59:27 +08:00
chain40 fb60d3c254 create dfu service 2023-09-27 07:27:44 +08:00
chain40 c45c81e0ac use nrfutil create OTA file 2023-09-26 22:47:35 +08:00
Roy 3cf2a1453d update IDE setting 2023-08-02 10:27:09 +08:00
Roy 5e8cab7512 clear regular data queue when connected 2023-08-01 16:31:11 +08:00
Roy ca2c177949 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-08-01 16:30:00 +08:00
Roy ad35d558e4 reset edc char notify enable status 2023-08-01 16:27:33 +08:00
Roy d585a711ac bugfix: fix BLE_UUID_EDC_EVENT_CHAR error 2023-08-01 16:24:36 +08:00
Roy afcd31c12f 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-08-01 16:23:07 +08:00
Roy 92ec0d79a1 bugfix: increase hvn_tx_queue_size for high freq notify 2023-08-01 16:15:13 +08:00
Roy 82f8018af1 upgrade toolchain and add syscalls.c file 2023-07-31 16:20:01 +08:00
Roy afa267e0be bugfix: fix wrong offset for checksum
bugfix: fix channel_len (group_length) field miss
2023-07-27 16:49:24 +08:00
Roy e3c1a5a579 implement edc_regular_data feature
1. create 2 pseudo task, update freq = 1KHz
2. add regular_data_notify_demo.py for validation
2023-07-27 16:43:53 +08:00
Roy e27421d2bf update gap/gatt configurtion 2023-07-27 15:55:48 +08:00
Roy 41759ddfaf 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-07-27 15:55:00 +08:00
Roy 059305ecbf 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-07-26 14:49:51 +08:00
Roy 06184562e8 update freertos configuration
1. remove unused functions
2. increase freertos heap size to 32KB
3. increase max of priorities
2023-07-26 13:49:39 +08:00
Roy 28d1d31402 [note] 2023-07-26 13:45:14 +08:00
Roy 2c4e6a921f 1.create battery task
2.define le_edc_bat_volt_update(). sending notification with the battery volt characteristic , if notification is enable,

1. define on_connect()
2. define on_disconnect()
2023-07-25 17:27:10 +08:00
Roy d0706fa05c set the battery voltage characteristic as a notification characteristic Part 1.
1. register handler for ble events
2. add edc_ccc_update() for CCCD (client characteristic configuration descriptor)
2023-07-25 17:19:06 +08:00
Roy 399fdf6a45 create EDC battery volt characteristic, and support read only 2023-07-25 14:33:35 +08:00
Roy 8f45c844cd create EDC service 2023-07-25 13:24:43 +08:00
Roy c1d841239d [note] Merge branch 'device_info_srv' 2023-07-25 09:37:41 +08:00
Roy 216c9c40f8 add device info service 2023-07-24 16:50:04 +08:00
Roy d563e23105 [note] Merge branch 'gatt' 2023-07-24 16:37:49 +08:00
Roy c42b96a6eb handle BLE_GAP_EVT_PHY_UPDATE_REQUEST for phy update request 2023-07-24 16:22:43 +08:00
Roy d9c1bf6a49 add gatt initialization 2023-07-24 16:04:25 +08:00
Roy 6b30832545 [note] Merge branch 'advertising' 2023-07-24 15:26:45 +08:00
Roy 55db0df3d9 add manuf_specific_data(custom data) in advertising packet 2023-07-24 14:18:54 +08:00
Roy dd7a8eb33e remove "appearance" from advertising packet and housekeeping 2023-07-24 13:49:24 +08:00
Roy 06171ec3ae [note] Merge branch 'ble' into develop 2023-07-24 11:56:18 +08:00
Roy 52f75b1969 add le_gap.c / le_adv.c
[roy: could scan device]
2023-07-20 16:57:32 +08:00
Roy e23abeb2d8 add nrf_sdh_freertos_init() 2023-07-20 16:48:41 +08:00
Roy c42094626a enable ble stack 2023-07-20 16:24:56 +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