2016-07-21 12:50:24 +00:00
# How to contribute
2016-09-30 13:20:25 +00:00
This directory structure contains some repositories that are copied from external sources.
2016-07-21 12:50:24 +00:00
2016-09-30 13:20:25 +00:00
Please follow these instructions to send contributions to master repositories.
2016-07-21 12:50:24 +00:00
## Directory structure
This directory consists of following modules
2016-09-30 13:20:25 +00:00
* [coap-service ](#coap-service )
2016-07-21 12:50:24 +00:00
* [mbed-mesh-api ](#mbed-mesh-api )
2016-09-30 13:20:25 +00:00
* [nanostack-interface ](#nanostack-interface )
* [sal-stack-nanostack ](#sal-stack-nanostack )
2016-07-21 12:50:24 +00:00
2016-09-30 13:20:25 +00:00
## coap-service
2016-07-21 12:50:24 +00:00
2016-09-30 13:20:25 +00:00
Master repository is located in the https://github.com/ARMmbed/coap-service
2016-07-21 12:50:24 +00:00
2016-09-30 13:20:25 +00:00
Please send contributions against that repository.
2016-07-21 12:50:24 +00:00
2016-09-30 13:20:25 +00:00
To test changes, remove the `coap-service` repository and replace with Git clone
of the master repository.
2016-07-21 12:50:24 +00:00
2016-09-30 13:20:25 +00:00
```
rm -rf coap-service
git clone git@github.com:ARMmbed/coap-service.git
```
2016-07-21 12:50:24 +00:00
2016-09-30 13:20:25 +00:00
## mbed-mesh-api
2016-07-21 12:50:24 +00:00
2016-09-30 13:20:25 +00:00
This is the master source of mbed-mesh-api.
Send contributions directly to this repository.
2016-07-21 12:50:24 +00:00
2016-09-30 13:20:25 +00:00
## nanostack-interface
2016-07-21 12:50:24 +00:00
2016-09-30 13:20:25 +00:00
This is the master source of nanostack-interface.
Send contributions directly to this repository.
2016-07-21 12:50:24 +00:00
2016-09-30 13:20:25 +00:00
## sal-stack-nanostack
2016-07-21 12:50:24 +00:00
2017-11-14 09:41:07 +00:00
This directory holds source code snapshot of the Nanostack networking library. Master repository is available for **mbed Partners** in https://github.com/ARMmbed/sal-stack-nanostack-private.
2016-07-21 12:50:24 +00:00
2017-11-14 09:41:07 +00:00
If you have access to the master repository, please send contributions against that repository.
2016-07-21 12:50:24 +00:00
2017-11-14 09:41:07 +00:00
To test changes with access to master repository:
* Remove the sal-stack-nanostack directory: `rm -rf sal-stack-nanostack`
* Clone the master repository `git clone git@github.com:ARMmbed/sal-stack-nanostack-private.git` as sal-stack-nanostack
2016-07-21 12:50:24 +00:00
Now you can modify, build and test your changes with the mbed OS build.
2017-11-14 09:41:07 +00:00
**NOTE:** You do not need to clone the Nanostack master repository to exactly same location in the build tree.
If you don't have access to the master repository then you can send contributions directly to this repository.
2016-09-30 13:20:25 +00:00
2016-07-21 12:50:24 +00:00