240 | | ==== /apps/binaryws ==== |
241 | | |
242 | | If the binaryws folder already exists, you can skip the following steps: |
243 | | |
244 | | 1. Create a directory in /apps/binaryws |
245 | | 2. The binaryws directory should contains libBWS.c and libBWS.h file. |
246 | | 3. If there is no Makefile.binaryws in the /binaryws folder, create a file “Makefile.binaryws” in the binaryws folder. |
247 | | 4. Then into /apps/binaryws/Makefile.binaryws file write your source file as follows: |
248 | | |
249 | | binaryws_src = libBWS.c |
250 | | |
251 | | **Note that libBWS.c should have a line: #include "libBWS.h" |
| 240 | ==== /apps/coap ==== |
| 241 | |
| 242 | If the coap folder already exists, you can skip the following steps: |
| 243 | |
| 244 | 1. Create a directory in /apps/coap |
| 245 | 2. The coap directory should contains coap.c and coap.h file. |
| 246 | 3. If there is no Makefile.coap in the /coap folder, create a file “Makefile.coap” in the coap folder. |
| 247 | 4. Edit the /apps/coap/Makefile.coap file write your source file as follows: |
| 248 | |
| 249 | coap_src = coap.c |
| 250 | |
| 251 | **Note that coap.c should have a line: #include "coap.h" |