Re: recommendations for IO pin declarations

2018-03-08 Thread markus
Hi Miguel, that is what I'm currently doing. I thought it might be possible to store the alternate function in the pin itself, if a pin variable would have at leas 12 bit. But mynewt does not declare a type for a pin, and there is no standard about the variable size of storing a pin. Some

Re: PWM API, new features should be driver specific or not?

2018-03-08 Thread Miguel Azevedo
Hi Markus, and everyone else, My proposal for changes on our PWM API is on this PR (most recent commit): https://github.com/apache/mynewt-core/pull/836 I think it takes care of the oversized unorganized datastructure problem and allows a clean use of basic PWM capabilities (i.e. looping a duty

Re: Question on nRF52840 HCI example.

2018-03-08 Thread 전형욱
Hi David, Thank you for the info. Just for your information, I received an e-mail from one of the Nordic Semi. person. He said that Zephyr suppots exteral PA/LNA and I'm trying to test it. Thank you and best regards, Hyoungwook On 2018/03/08 19:11:56, David Lee wrote: >

Re: Question on nRF52840 HCI example.

2018-03-08 Thread David Lee
Hi Hyoungwook, Not sure if you saw the response from Will (on Slack), but unfortunately there currently isn't any built-in support for an external PA. If anyone has any additional info, please share your input. Thanks, David On Sun, Mar 4, 2018 at 11:51 PM, 전형욱 wrote: >

Re: Multicast messaging and group messaging

2018-03-08 Thread Aditya Xavier
Thanks Łukasz ! That helped. Would try that and would ping back incase of problems. Thanks, Aditya Xavier. > On 08-Mar-2018, at 6:18 PM, Łukasz Rymanowski > wrote: > > Hi Aditiya, > > Alright, there is no really documentation but you can try it out on our >

nrf52840 usb help

2018-03-08 Thread Abderrezak Mekkaoui
Hi All, Is there any effort regarding using the usb peripheral in the nrf52840 chip? It does not seem to be anything related to this on the repo. Any examples and/or guidance is most appreciated. Regards Abderrezak

Re: Multicast messaging and group messaging

2018-03-08 Thread Łukasz Rymanowski
Hi Aditiya, Alright, there is no really documentation but you can try it out on our btmesh_shell app. There is shell.c file which expose configuration client which you can use for testing - e.g. you can subscribe virtual address. You can also trigger sending messages to devices. By playing with

Re: Multicast messaging and group messaging

2018-03-08 Thread Łukasz Rymanowski
Hello Aditya, It should be possible to do so with a publish model. Group address or virtual address should help here (see Mesh spec) Best Łukasz On 8 March 2018 at 10:39, Aditya Xavier wrote: > Hello Mynewt Team, > > > Is it possible to send a broadcast message by one of

Multicast messaging and group messaging

2018-03-08 Thread Aditya Xavier
Hello Mynewt Team, Is it possible to send a broadcast message by one of the devices present in the mesh ? For e.g. to broadcast a event which happened ? Something like push notification instead of continuously polling for it by a client. Thanks, Aditya Xavier.

Re: Question regarding exchanging long characteristic values over BLE

2018-03-08 Thread Simon Ratner
Old thread, but I just bumped into this myself so want to resurrect it. Current api makes it very difficult to implement a long characteristic that changes frequently (e.g. time- or sensor-based reading, or including a random component). In the case where mtu exchange fails or does not complete