...
Info | ||
---|---|---|
| ||
|
...
Note |
---|
...
|
...
Download OpenWSN
OpenWSN is a collection of repositories hosted on GitHub. We will download and use the following:
...
| |
Several softwares and tools will be installed on your computer during you read this page, for example, python, pywin32 and mingw. You can install python,pywin32 and mingw either full 32-bit or full 64-bit version. Just make sure their version are consistent. We recommended the 32-bit installation. This setting has tested on both 32 and 64 machine. |
Table of Contents | ||
---|---|---|
|
Download OpenWSN
OpenWSN is a collection of repositories hosted on GitHub. We will download and use the following:
- https://github.com/openwsn-berkeley/openwsn-fw holds the firmware source code which runs on the (possibly emulated) motes
- https://github.com/openwsn-berkeley/openwsn-sw holds the software source code which runs on your computer
- https://github.com/openwsn-berkeley/coap is a Python module which implements CoAP
...
Tip | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
Before you can go on, you need to install Python:
|
Note | ||
---|---|---|
| ||
If you are using a 64-bit windows, you can use either 32-bit or 64-bit version of python. Just make sure it was consistent with pywin32 and minGW. That is saying if you choose to use 64-bit python, you also need to choose 64-bit pywin32 (there is 64-bit version pywin32 even it was called --win32) and 64-bit mingw. Likewise, 32-bit python, 32-bit pywin32 and mingw. Or unexpected error could happen. |
...
To compile the firmware as a Python extension module, type:
...