- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sir,
puart_control is very demo to show up the opeartion of WICED and MCU.
And it also bring lot of question for me.
I check the my_l2cap_data_handler, but I cannot find any errCode detail define.
Could you give me a help to explain the detail define of errCode ?
like.
#define ERRCODE_TIMEOUT xxxx
Best Regards,
Rush Chen
void my_l2cap_data_handler(LEL2CAP_HDR *l2capHdr)
{
LEATT_PDU_HDR *p_gatt_msg = (LEATT_PDU_HDR*) (l2capHdr + 1);
int opcode = (LEATT_OPCODE_MASK & p_gatt_msg->attrCode);
UINT16 con_handle = emconinfo_getConnHandle();
UINT32 con_index = con_handle - RMULP_CONN_HANDLE_START;
ble_trace2("data_handle con_handle:%04x opcode:%04x", con_handle, opcode);
// process messages not processed by the standard l2capHandler
.....
puart_control_send_write_completed(con_handle, p_rsp->errCode);
return;
Solved! Go to Solution.
- Tags:
- errcode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please refer to core spec v4.1 Vol. 3, Part F, 3.4.1.1 Error Response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please refer to core spec v4.1 Vol. 3, Part F, 3.4.1.1 Error Response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Where is the document called "core spec" located? Is that a Broadcom document or a Bluetooth spec?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This reference is to the Bluetooth Spec.
I found it using Google, so it's publicly available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you and I also download the BLE spec. to study.