diff --git a/SPP.h b/SPP.h index 61a5a4c2..92cb51b0 100644 --- a/SPP.h +++ b/SPP.h @@ -68,7 +68,7 @@ //#define RFCOMM_DM 0x0F #define RFCOMM_DISC 0x43 -#define extendAddress 0x01 // Allways 1 +#define extendAddress 0x01 // Always 1 // Multiplexer message types #define BT_RFCOMM_PN_CMD 0x83 @@ -341,10 +341,10 @@ private: uint16_t hci_handle; // The HCI Handle for the connection - /* Variables used by L2CAP state maschines */ + /* Variables used by L2CAP state machines */ uint8_t l2cap_sdp_state; uint8_t l2cap_rfcomm_state; - uint16_t l2cap_event_flag; // l2cap flags of received bluetooth events + uint16_t l2cap_event_flag; // l2cap flags of received Bluetooth events uint8_t l2capoutbuf[BULK_MAXPKTSIZE]; // General purpose buffer for l2cap out data uint8_t rfcommbuf[10]; // Buffer for RFCOMM Commands @@ -358,7 +358,7 @@ private: /* RFCOMM Variables */ uint8_t rfcommChannel; - uint8_t rfcommChannelConnection; // This is the channel the SPP chanel will be running at + uint8_t rfcommChannelConnection; // This is the channel the SPP channel will be running at uint8_t rfcommDirection; uint8_t rfcommCommandResponse; uint8_t rfcommChannelType;