Skip to content

Commit

Permalink
Merge pull request #242 from ingchips/develop
Browse files Browse the repository at this point in the history
Release 8.4.10
  • Loading branch information
zjli-2019 authored Feb 21, 2024
2 parents dcc001c + 6da7a40 commit 216be52
Show file tree
Hide file tree
Showing 183 changed files with 9,530 additions and 8,379 deletions.
724 changes: 363 additions & 361 deletions bundles/exp/ING9168xx/apis.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions bundles/exp/ING9168xx/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"rom": {
"base": 33562624,
"size": 178112
"size": 178320
},
"version": [
2,
3,
10
11
]
}
Binary file modified bundles/exp/ING9168xx/platform.bin
Binary file not shown.
656 changes: 329 additions & 327 deletions bundles/exp/ING9187xx/apis.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions bundles/exp/ING9187xx/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"rom": {
"base": 16384,
"size": 152128
"size": 152328
},
"version": [
1,
9,
47
48
]
}
Binary file modified bundles/exp/ING9187xx/platform.bin
Binary file not shown.
692 changes: 347 additions & 345 deletions bundles/exp/ING9188xx/apis.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions bundles/exp/ING9188xx/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
},
"rom": {
"base": 16384,
"size": 159040
"size": 159240
},
"version": [
1,
9,
47
48
]
}
Binary file modified bundles/exp/ING9188xx/platform.bin
Binary file not shown.
16 changes: 16 additions & 0 deletions bundles/exp/inc/gap.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,27 @@ uint8_t gap_set_random_device_address(const uint8_t *address);
/**
* @brief Disconnect connection with handle
*
* This is equivalent to `gap_disconnect2(handle, 0x13)`.
*
* @param handle Used to identify an advertising set. Range: 0x00 to 0xEF
* @return 0: Message is sent out or the connection already release
*/
uint8_t gap_disconnect(hci_con_handle_t handle);

/**
* @brief Disconnect connection with handle
*
* @param handle Used to identify an advertising set. Range: 0x00 to 0xEF
* @param reason Reason:
* - Authentication Failure error code (0x05)
* - Other End Terminated Connection error codes (0x13 to 0x15)
* - Unsupported Remote Feature error code (0x1A)
* - Pairing with Unit Key Not Supported error code (0x29)
* - Unacceptable Connection Parameters error code (0x3B)
* @return 0: Message is sent out or the connection already release
*/
uint8_t gap_disconnect2(hci_con_handle_t handle, uint8_t reason);

/**
* @brief disconnect multi-connections
*/
Expand Down
20 changes: 20 additions & 0 deletions bundles/exp/inc/ll_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,26 @@ typedef enum ll_config_item_e
*/
void ll_config(ll_config_item_t item, uint32_t value);

/**
****************************************************************************************
* @brief Get states of LL
*
* Note: Parameters can be set to NULL if the relevant states are not needed.
*
* @param[out] adv_states[1] states of all advertising sets
* Bit[n]: advertising set n is enabled
* @param[out] conn_states[1] states of all connections
* Bit[n]: connection n is active
* @param[out] sync_states[1] states of all synchronized periodic adv sets
* Bit[n]: sync_handle n is active
* @param[out] other_states[1] other states:
* Bit[0]: if scanning is ON
* Bit[1]: if initiating is ON
****************************************************************************************
*/
void ll_get_states(uint32_t *adv_states, uint32_t *conn_states,
uint32_t *sync_states, uint32_t *other_states);

/**
****************************************************************************************
* @brief set Tx power range
Expand Down
Loading

0 comments on commit 216be52

Please sign in to comment.