You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: readme.md
+12-12
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,12 @@ If you have a Segger hooked up to the board you can also run:
26
26
Flashing
27
27
--------
28
28
29
-
###Firmware Over the Air (FOTA)
29
+
###Firmware Over the Air (FOTA)
30
30
We've included a file in the `/firmware` folder called `super.hex`. This firmware has a bootloader included that allows the BLEKey to be flashed from a cell phone by shorting the first and last pins of the P2 port, and inserting a battery. The firmware update has been tested on the Android platform using the Nordic Master Control Panel tool.
31
31
32
32
[We've created a video to demonstrate the process.](/firmware/fw_update.mp4)
33
33
34
-
###MacOS or Linux
34
+
###MacOS or Linux
35
35
36
36
To flash the softdevice and BLEKey firmware from the CLI you can use JLinkExe which is provided in the [Segger Software](https://www.segger.com/jlink-software.html)
37
37
@@ -56,30 +56,30 @@ If you prefer a GUI you can always use [rknrfgo](http://sourceforge.net/projects
56
56
57
57
The cheatsheet above is [ripped from Nordic's blog](https://devzone.nordicsemi.com/blogs/22/getting-started-with-nrf51-development-on-mac-os-x/)
58
58
59
-
###Windows
59
+
###Windows
60
60
61
61
Use tools from Nordic.
62
62
63
63
Using BLEKey
64
64
------------
65
65
66
-
### Ble Characteristics
66
+
### BLE Characteristics
67
67
| Service | Characteristic | Function
68
68
|----------|----------------|---------------
69
69
| 0xABCD | 0xAAAA | Read Last Cards
70
70
| 0xABCD | 0xBBBB | Replay Card
71
71
| 0xABCD | 0xCCCC | Send Data (Data)
72
72
| 0xABCD | 0xDDDD | Send Data (Length)
73
73
74
-
###Client
74
+
###Client
75
75
76
76
There is a BLEKey client in the client/ directory of the git repo. See readme.md and requirements.txt for more information on its use.
77
77
78
-
###Phones/Tablets
78
+
###Phones/Tablets
79
79
80
80
A client is planned. Until then download any BLE utility that can read/write BLE characteristics. See below for more information on specific characteristics.
81
81
82
-
###CLI (Linux)
82
+
###CLI (Linux)
83
83
84
84
Find your Bluetooth device with `hcitool dev` scan for BLEKey with `hcitool -i <dev> lescan`
85
85
@@ -114,14 +114,14 @@ You can also just use gatttool from the command line to yell BLEKey to send Wieg
114
114
sudo gatttool -t random -b D4:34:E8:CA:6F:6A --char-write-req -a 0x000d -n 01
115
115
```
116
116
117
-
###Notes:
117
+
###Notes:
118
118
119
119
* Bluetooth Explorer is in the [Hardware IO Tools from Apple](http://adcdownload.apple.com/Developer_Tools/Hardware_IO_Tools_for_Xcode_6.3/HardwareIOTools_Xcode_6.3.dmg) it's probably the best BLE utility for Mac.
120
120
121
121
Pinouts
122
122
-------
123
123
124
-
###Harware rev. 0 code name Acamas
124
+
###Harware rev. 0 code name Acamas
125
125
126
126
| Pin | Function |
127
127
| ------|---------------|
@@ -138,7 +138,7 @@ Pinouts
138
138
| 35 | DIO |
139
139
| 36 | CLK |
140
140
141
-
###Hardware rev. 1 Agapenor
141
+
###Hardware rev. 1 Agapenor
142
142
143
143
Pinouts are identical to Acamas unless otherwise noted.
144
144
@@ -149,7 +149,7 @@ Pinouts are identical to Acamas unless otherwise noted.
149
149
| 8 | GPIO |
150
150
| 20 | LED0 |
151
151
152
-
####P1 - Programming port (square solder mask pin 0)
152
+
####P1 - Programming port (square solder mask pin 0)
153
153
154
154
| Pin | Function |
155
155
| ------|---------------|
@@ -158,7 +158,7 @@ Pinouts are identical to Acamas unless otherwise noted.
158
158
| 2 | CLK |
159
159
| 3 | Gnd |
160
160
161
-
####P2 - Serial/GPIO port (square solder mask pin 0)
161
+
####P2 - Serial/GPIO port (square solder mask pin 0)
0 commit comments