@@ -200,7 +200,7 @@ static BOOLEAN process_read_multi_rsp (tGATT_SR_CMD *p_cmd, tGATT_STATUS status,
200200 * p ++ = GATT_RSP_READ_MULTI ;
201201 p_buf -> len = 1 ;
202202
203- /* Now walk through the buffers puting the data into the response in order */
203+ /* Now walk through the buffers putting the data into the response in order */
204204 list_t * list = NULL ;
205205 const list_node_t * node = NULL ;
206206 if (! fixed_queue_is_empty (p_cmd -> multi_rsp_q )) {
@@ -321,7 +321,7 @@ static BOOLEAN process_read_multi_var_rsp (tGATT_SR_CMD *p_cmd, tGATT_STATUS sta
321321 * p ++ = GATT_RSP_READ_MULTI_VAR ;
322322 p_buf -> len = 1 ;
323323
324- /* Now walk through the buffers puting the data into the response in order */
324+ /* Now walk through the buffers putting the data into the response in order */
325325 list_t * list = NULL ;
326326 const list_node_t * node = NULL ;
327327 if (! fixed_queue_is_empty (p_cmd -> multi_rsp_q )) {
@@ -735,7 +735,7 @@ static tGATT_STATUS gatt_build_primary_service_rsp (BT_HDR *p_msg, tGATT_TCB *p_
735735 handle_len = 4 + p_uuid -> len ;
736736 }
737737
738- /* get the length byte in the repsonse */
738+ /* get the length byte in the response */
739739 if (p_msg -> offset == 0 ) {
740740 * p ++ = op_code + 1 ;
741741 p_msg -> len ++ ;
@@ -889,7 +889,7 @@ static tGATT_STATUS gatts_validate_packet_format(UINT8 op_code, UINT16 *p_len,
889889 /* parse uuid now */
890890 if (gatt_parse_uuid_from_cmd (p_uuid_filter , uuid_len , & p ) == FALSE ||
891891 p_uuid_filter -> len == 0 ) {
892- GATT_TRACE_DEBUG ("UUID filter does not exsit " );
892+ GATT_TRACE_DEBUG ("UUID filter does not exist " );
893893 reason = GATT_INVALID_PDU ;
894894 } else {
895895 len -= p_uuid_filter -> len ;
@@ -1042,7 +1042,7 @@ static void gatts_process_find_info(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len,
10421042**
10431043** Function gatts_process_mtu_req
10441044**
1045- ** Description This function is called to process excahnge MTU request.
1045+ ** Description This function is called to process exchange MTU request.
10461046** Only used on LE.
10471047**
10481048** Returns void
@@ -1055,7 +1055,7 @@ static void gatts_process_mtu_req (tGATT_TCB *p_tcb, UINT16 len, UINT8 *p_data)
10551055 BT_HDR * p_buf ;
10561056 UINT16 conn_id ;
10571057
1058- /* BR/EDR conenction , send error response */
1058+ /* BR/EDR connection , send error response */
10591059 if (p_tcb -> att_lcid != L2CAP_ATT_CID ) {
10601060 gatt_send_error_rsp (p_tcb , GATT_REQ_NOT_SUPPORTED , GATT_REQ_MTU , 0 , FALSE);
10611061 } else if (len < GATT_MTU_REQ_MIN_LEN ) {
@@ -1081,7 +1081,7 @@ static void gatts_process_mtu_req (tGATT_TCB *p_tcb, UINT16 len, UINT8 *p_data)
10811081 attp_send_sr_msg (p_tcb , p_buf );
10821082
10831083 /* Notify all registered application with new MTU size. Us a transaction ID */
1084- /* of 0, as no response is allowed from applcations */
1084+ /* of 0, as no response is allowed from applications */
10851085
10861086 for (i = 0 ; i < GATT_MAX_APPS ; i ++ ) {
10871087 if (gatt_cb .cl_rcb [i ].in_use ) {
@@ -1448,7 +1448,7 @@ void gatt_attr_process_prepare_write (tGATT_TCB *p_tcb, UINT8 i_rcb, UINT16 hand
14481448 }
14491449
14501450 if ((prepare_record -> error_code_app == GATT_SUCCESS )
1451- // update prepare write status for excute write request
1451+ // update prepare write status for execute write request
14521452 && (status == GATT_INVALID_OFFSET || status == GATT_INVALID_ATTR_LEN || status == GATT_REQ_NOT_SUPPORTED )) {
14531453 prepare_record -> error_code_app = status ;
14541454 }
@@ -1855,7 +1855,7 @@ void gatt_server_handle_client_req (tGATT_TCB *p_tcb, UINT8 op_code,
18551855 gatts_process_primary_service_req (p_tcb , op_code , len , p_data );
18561856 break ;
18571857
1858- case GATT_REQ_FIND_INFO : /* discover char descrptor */
1858+ case GATT_REQ_FIND_INFO : /* discover char descriptor */
18591859 gatts_process_find_info (p_tcb , op_code , len , p_data );
18601860 break ;
18611861
0 commit comments