Hi
Where can I find "light_switch demo" and what programs do I need to run it?
I'm have the nrf52840
i hope some can help
Hi
Where can I find "light_switch demo" and what programs do I need to run it?
I'm have the nrf52840
i hope some can help
hello mikkel1e,
You can find the Bluetooth Mesh light switch demo by downloading the nRF5-SDK-for-Mesh from the following link:
http://www.nordicsemi.com/eng/nordic/Products/nRF52840/nRF5-SDK-for-Mesh/62721
After extracting the archive to your file-system, the specific demo can be found by traversing to the ../examples/light_switch folder.
You will also need a copy of Segger Embedded Studio, which can be found here.
Note that since you are using the nrf52840, you will need to follow these instructions in order to access the project files for that specific PDK board (assuming you decided to download the latest v1.0.1 nRF5-SDK-for-Mesh, this will hopefully be corrected in future mesh SDKs )
You should also read the following to guide you through the setup... http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v1.0.1%2Fmd_doc_getting_started_getting_started.html&cp=4_1_0_3
Finally, the default light switch demo assumes you will use 4 development boards (3 for servers and 1 for the client), should you not have this exact configuration, you can follow these instructions, I believe they are still current.
Post back should you have any further issues.
Regards,
Thank you, but I do not understand what you write about, that I'm using nrf52840 "Note that since you are using the nrf52840, you will need to follow these instructions in order to access the project files for that specific PDK board (assuming you decided to download the latest v1.0.1 nRF5-SDK-for-Mesh, this will hopefully be corrected in future mesh SDKs )" try to explain in another way, but thank you very much for the help
hello mikkel1e,
What it means is that the project files to build and run the light switch demo for the nrf52840 board were not included in the nRF5-SDK-for-Mesh v1.0.1 SDK file, so you will need to generate those manually by following the instructions that I linked to.
Hopefully this clarifies things.
Regards,
thanks, but I can not figure out how to make the files so it fits nrf52840, do not know if you can help me with that
Sorry,
I guess I should have explicitly mentioned, there is a 'lazy' way... It's in the original link that I directed you to but you must have missed it! (see here) https://devzone.nordicsemi.com/f/nordic-q-a/30035/segger-embedded-studio-project-files-missing-in-mesh-sdk-v1-0-1/119325#119325
Look for the examples.zip file attached by Hung Bui.
Regards
Sorry,
I guess I should have explicitly mentioned, there is a 'lazy' way... It's in the original link that I directed you to but you must have missed it! (see here) https://devzone.nordicsemi.com/f/nordic-q-a/30035/segger-embedded-studio-project-files-missing-in-mesh-sdk-v1-0-1/119325#119325
Look for the examples.zip file attached by Hung Bui.
Regards
ohh yeah i have missed but now i have try and it will not run, it says is missing some librarys, so don't now what i'm doing wrong
ok, you will either have to document the exact errors that you are getting and/or include a screenshot if at all possible in your reply.
ok, i'm not sure what you did to hose your mesh setup but to get back on track I would suggest that you extract the nRF5-SDK-for-Mesh v1.0.1 SDK to your preferred folder/location and once that is in place simply extract the examples.zip file (provided by Hung Bui) over the %nrf5-mesh-sdk_v1.0.1%/examples folder (%nrf5-mesh-sdk_v1.0.1% = the folder where you extracted mesh).
With that in place, you should then be able to see:
(1) light_switch_server_nrf52840_xxAA_s140_5_0_0-3_alpha.emProject and
(2) light_switch_client_nrf52840_xxAA_s140_5_0_0-3_alpha.emProject in the
.\examples\light_switch\server and .\examples\light_switch\client folders respectively.
From there you should be able to launch those .emProject files in Segger Embedded Studio and build successfully.
Regards,
it works now, but when I'm testing the program, I'm not sure if it works because it's like the the client does not always get any of the servers. somthing else i'm not syre of is it true that all 4 LEDs should light up once on one server and is it true that I should be able to manage 2 servers at Button 1