This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Set keyboard discoverable | |
2. Get the mac address of the bluetooth device: | |
$ hcitool scan | |
3. Create new device: | |
$ sudo bluez-simple-agent hci0 [bluetooth device mac address = XX:XX:XX:XX:XX:XX] | |
which will hopefully return somthing like: | |
DisplayPasskey (/org/bluez/537/hci0/..., [PIN = 123456]) | |
else: | |
$ sudo bluez-simple-agent hci0 XX:XX:XX:XX:XX:XX repair | |
start over |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Doctrine\ORM\Mapping as ORM; | |
use Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* @ORM\Entity() | |
* @ORM\Table(name="user") | |
*/ | |
class User |