Skip to content

Commit 5b8d7a8

Browse files
committed
Merge pull request #20 from fablabbcn/master
Eliminate *Hello* message before PUT causing issues on the server.
2 parents f5b49de + ea72fc2 commit 5b8d7a8

23 files changed

+3792
-2792
lines changed

LICENSE.txt

Lines changed: 689 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Smart Citizen Kit
1515

1616
### Quick start
1717

18+
* Visit the project main documentation. [docs.smartcitizen.me](https://docs.smartcitizen.me)
19+
1820
* Visit the project [wiki](https://github.com/fablabbcn/Smart-Citizen-Kit/wiki)
1921

2022
### Loading Firmware
@@ -27,7 +29,9 @@ Smart Citizen Kit
2729

2830
### Versions
2931

30-
The current firmware version in use is `0.8.6`.
32+
The current firmware version in use is `0.9.0`.
33+
34+
We currently support the SD card version on as a diferent firmware `SDCARD`, currently `0.8.6 SDCARD`.
3135

3236
You can see the release history [here](https://github.com/fablabbcn/Smart-Citizen-Kit/releases)
3337

@@ -36,8 +40,15 @@ You can see the release history [here](https://github.com/fablabbcn/Smart-Citize
3640
* Setup commands reference in [sck-commands.md](https://github.com/fablabbcn/Smart-Citizen-Kit/blob/master/sck-commands.md)
3741

3842
* Basic documentation for creating your own Sensor Boards [here](https://github.com/fablabbcn/Smart-Citizen-Kit/wiki/Making-a-Shield)
39-
<<<<<<< HEAD
4043

41-
### Support
44+
### Support and issues
4245

4346
* Forum [forum.smartcitizen.me](http://forum.smartcitizen.me)
47+
48+
### Contributions
49+
50+
* We are working on improving the firmware documentation for developers but still we encourage you to Fork the project and do a Pull request with your contributions.
51+
52+
53+
54+

sck-commands.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,35 @@
1-
Change XXX with the corresponding value.
1+
## SCK Serial Commands
2+
3+
The Smart Citizen Kit can be managed over a basic serial protocol. You just need the **Arduino IDE Serial Monitor** or any other **Serial Utility** like **Screen** in order to use it.
4+
5+
#### How to use it.
6+
7+
* Connect to your kit using any serial utility, any baud-rate should work but `115200` is recommendable.
8+
* Send the starting commands.
9+
* Notice all the commands except the starting commands require a carriage return at the end: `CR` or `\r` .
10+
* Call any command you want, change `XXX` with the corresponding value.
211

312
### Basic SCK setup commands
413

5-
* `$$$` Wake up the module and activate the Wi-Fi
14+
This commands are commands to talk directly to the Wi-Fi module (RN-XV WiFly) own interface.
15+
16+
* `$$$` Wake up the module and enter WiFly commands mode
617
* `set wlan ssid XXX\r` Add a new SSID to memory
718
* `set wlan phrase XXX\r` Add a new phrase to memory
8-
* `set wlan key XXX\r` Add a new key to memmory
19+
* `set wlan key XXX\r` Add a new key to memory
920
* `set wlan auth XXX\r` Add an authentication method into memory
10-
* `set wlan ext_antenna XXX\r` Add an antenna type into memmory
11-
* `get mac\r` Get the MAC address of the kit
21+
* `set wlan ext_antenna XXX\r` Add an antenna type into memory
1222
* `exit\r` Go back to normal operational mode
1323

14-
1524
### Special SCK commands
1625

26+
This commands are commands to talk talk to the SCK configuration interface.
27+
28+
* `###` Wake up the module and enter SCK commands mode
29+
* `get mac\r` Get the MAC address of the kit
1730
* `get time update\r` Retrieve the sensor update interval
18-
* `set time update XXX\r` Update the sensor update interval
19-
* `get number updates\r` Retrieve the max number of bulk updates allowed
31+
* `set time update XXX\r` Update the sensor update interval
32+
* `get number updates\r` Retrieve the max number of bulk updates allowed
2033
* `set number updates XXX\r` Update the max number of bulk updates allowed
2134
* `get apikey\r` Retrieve the kit APIKEY
2235
* `set apikey XXX\r` Update the kit APIKEY
@@ -26,4 +39,4 @@ Change XXX with the corresponding value.
2639
* `get wlan ext_antenna\r` Retrieve the antenna types saved on the kit
2740
* `clear nets\r` Remove all saved Wi-Fi configuration information
2841
* `exit\r` Goes back to normal operational mode
29-
* `#data\r` Retrieves sensor readings stored in memory
42+
* `#data\r` Retrieves sensor readings stored in memory

sck_beta_v0_8_6/Constants.h

Lines changed: 0 additions & 200 deletions
This file was deleted.

0 commit comments

Comments
 (0)