Hi Aditi, I'm guessing what's below is already there but spread out over a number of existing apps and in the docs, and maybe even exist already, but my first thoughts are...
Perhaps add standalone (pure OS) examples that demonstrate basic, and more advanced, uses of multiple tasks and message passing (with and (maybe) without queuing) between tasks, e.g. MyNewt RTOS building blocks. Perhaps also include RTOS task examples that demonstrate best practice handling of Nimble and other IRQ context switches (e.g. GPIO IRQ). Apologies if such things already do exist, I've not kept on top of MyNewt things. Thanks, Wayne On 20 March 2018 at 01:11, aditi hilbert <[email protected]> wrote: > Hi all, > > We have been adding a lot of features and functionality in Apache Mynewt > recently. Sample apps make it easy to see how to use them; so adding some > sample apps would be much appreciated. Here's an initial list of sample > apps that we could add. Please respond if you wish to contribute one or add > to the list. And I think we should add a README.md for every app in the > repo. > > * PWM - control LED brightness > * ADC, UART - read voltage on ADC, print value to UART > * ADC, I2C - read out an ADC over I2C > * Expose a resource by enabling a CoAP server > * CoAP, LoRa - enable CoAP client on one LoRa node, CoAP server on > another, retrieve a resource value > * Cycle through available power states (deep sleep, low power etc.) > * Sensor - change sampling rate > * Sensor - read multiple I2C sensors simultaneously > * Sensor - trigger a notification when a threshold is crossed > * Logging, Sensor - enable FCB to log timestamped sensor data > * MMC, SPI, stats - write system stats to the card, read back > * testutil - adding a test for a package in sim using the testutil > framework > * sensor, testutil - how to add a test for a sensor HW using the testutil > framework > > thanks, > Aditi
