diff --git a/BTD.cpp b/BTD.cpp index 05ef4901..7eda8fd5 100755 --- a/BTD.cpp +++ b/BTD.cpp @@ -589,7 +589,7 @@ void BTD::HCI_event_task() { break; case EV_AUTHENTICATION_COMPLETE: - if(!hcibuf[2]) { // Check if paring was successful + if(!hcibuf[2]) { // Check if pairing was successful if(pairWithWii && !connectToWii) { #ifdef DEBUG_USB_HOST Notify(PSTR("\r\nPairing successful with Wiimote"), 0x80); @@ -603,7 +603,7 @@ void BTD::HCI_event_task() { } } else { #ifdef DEBUG_USB_HOST - Notify(PSTR("\r\nParing Failed: "), 0x80); + Notify(PSTR("\r\nPairing Failed: "), 0x80); D_PrintHex (hcibuf[2], 0x80); #endif hci_disconnect(hci_handle); @@ -1110,7 +1110,7 @@ void BTD::hci_pin_code_request_reply() { hcibuf[9] = 6; // Pin length is the length of the Bluetooth address if(pairWiiUsingSync) { #ifdef DEBUG_USB_HOST - Notify(PSTR("\r\nParing with Wii controller via SYNC"), 0x80); + Notify(PSTR("\r\nPairing with Wii controller via SYNC"), 0x80); #endif for(uint8_t i = 0; i < 6; i++) hcibuf[10 + i] = my_bdaddr[i]; // The pin is the Bluetooth dongles Bluetooth address backwards diff --git a/BTD.h b/BTD.h index 214931a8..d3f735b8 100755 --- a/BTD.h +++ b/BTD.h @@ -535,7 +535,7 @@ private: uint8_t pollInterval; bool bPollEnable; - bool pairWiiUsingSync; // True if paring was done using the Wii SYNC button. + bool pairWiiUsingSync; // True if pairing was done using the Wii SYNC button. bool checkRemoteName; // Used to check remote device's name before connecting. bool incomingPS4; // True if a PS4 controller is connecting uint8_t classOfDevice[3]; // Class of device of last device diff --git a/BTHID.h b/BTHID.h index ac9128a2..282b832e 100644 --- a/BTHID.h +++ b/BTHID.h @@ -87,7 +87,7 @@ public: /** True if a device is connected */ bool connected; - /** Call this to start the paring sequence with a device */ + /** Call this to start the pairing sequence with a device */ void pair(void) { if(pBtd) pBtd->pairWithHID(); diff --git a/README.md b/README.md index 3c9d8e0d..c98c5692 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,7 @@ The [PS4BT.ino](examples/Bluetooth/PS4BT/PS4BT.ino) and [PS4USB.ino](examples/PS Before you can use the PS4 controller via Bluetooth you will need to pair with it. -Simply create the PS4BT instance like so: ```PS4BT PS4(&Btd, PAIR);``` and then hold down the Share button and then hold down the PS without releasing the Share button. The PS4 controller will then start to blink rapidly indicating that it is in paring mode. +Simply create the PS4BT instance like so: ```PS4BT PS4(&Btd, PAIR);``` and then hold down the Share button and then hold down the PS without releasing the Share button. The PS4 controller will then start to blink rapidly indicating that it is in pairing mode. It should then automatically pair the dongle with your controller. This only have to be done once. diff --git a/Wii.h b/Wii.h index efb64b2f..5360682f 100755 --- a/Wii.h +++ b/Wii.h @@ -85,7 +85,7 @@ public: /** @name Wii Controller functions */ - /** Call this to start the paring sequence with a controller */ + /** Call this to start the pairing sequence with a controller */ void pair(void) { if(pBtd) pBtd->pairWithWiimote(); diff --git a/examples/Bluetooth/PS4BT/PS4BT.ino b/examples/Bluetooth/PS4BT/PS4BT.ino index c3ba696b..9cac6cdc 100644 --- a/examples/Bluetooth/PS4BT/PS4BT.ino +++ b/examples/Bluetooth/PS4BT/PS4BT.ino @@ -19,7 +19,7 @@ BTD Btd(&Usb); // You have to create the Bluetooth Dongle instance like so /* You can create the instance of the PS4BT class in two ways */ // This will start an inquiry and then pair with the PS4 controller - you only have to do this once -// You will need to hold down the PS and Share button at the same time, the PS4 controller will then start to blink rapidly indicating that it is in paring mode +// You will need to hold down the PS and Share button at the same time, the PS4 controller will then start to blink rapidly indicating that it is in pairing mode PS4BT PS4(&Btd, PAIR); // After that you can simply create the instance like so and then press the PS button on the device