Hi Łukasz,

Am using nrf52832, hence the problem of flash overflow.

Would create a test app, using btshell + blemesh + the flags which you 
recommended, and test again.

Thanks,
Aditya Xavier.

> On 18-Apr-2018, at 12:29 PM, Łukasz Rymanowski 
> <[email protected]> wrote:
> 
> Hi Aditya,
> 
> If there is flash overflow consider removing some features from the
> configuration.
> What HW are you using? We are running on nrf52840
> 
> BTW There is no special application. It is btshell plus those 4 flags (
> BLE_EXT_ADV, BLE_MULTI_ADV_INSTANCES, BLE_MESH,  BLE_MESH_SHELL) . Of
> course you need my PR. I did not test it personally, but  I know it worked
> for Michal.
> 
> Please share your target configuration,
> 
> Best
> Łukasz
> 
> On 17 April 2018 at 12:04, Aditya Xavier <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>> Hi Łukasz,
>> 
>> Been trying to join both blemesh_shell and bt_shell, but there is a
>> problem of flash overflow.
>> 
>> Created another app, which basically is btshell and some portions of
>> blemesh, but that didn’t work.
>> 
>> Is it possible for you to share a sample / test app ?
>> 
>> Thanks,
>> Aditya Xavier.
>> 
>>> On 10-Apr-2018, at 1:09 PM, Łukasz Rymanowski <
>> [email protected]> wrote:
>>> 
>>> Hi Michał, Aditya,
>>> 
>>> I just upload a new version of PR:
>>> https://github.com/apache/mynewt-nimble/pull/8
>>> It contains fixes for the problem mentioned above, however solution is
>> bit
>>> different from what Michał suggested.
>>> @MIchał, could you take a look?
>>> 
>>> @Aditya, Could you be able to test it and give us a feedback on this?
>>> 
>>> Best
>>> Łukasz
>>> 
>>> 
>>> 
>>> On 6 April 2018 at 14:08, Michał Narajowski <
>> [email protected]>
>>> wrote:
>>> 
>>>> Hi Aditya,
>>>> 
>>>> Mesh is using Adv extensions under the hood if you have Łukasz's patch
>>>> and enable BLE_EXT_ADV and set BLE_MULTI_ADV_INSTANCES to at least 1.
>>>> Blemesh_shell has a command "init" which initializes mesh stack and
>>>> starts advertising Unprovisioned Mesh Beacon.
>>>> 
>>>> I tested this now and I noticed a bug. Here is a patch for that bug:
>>>> https://pastebin.com/gbyX8H56
>>>> Please apply it on top of Łukasz's branch.
>>>> 
>>>> Hope that helps. Let us know how it works for you.
>>>> 
>>>> BR,
>>>> Michał
>>>> 
>>>> 2018-04-06 11:09 GMT+02:00 Aditya Xavier <[email protected]>:
>>>>> Hi Michał / Łukasz,
>>>>> 
>>>>> I have been trying to understand the blemesh_shell, and I fail to
>>>> understand how / where it is using the Advertisement extensions.
>>>>> 
>>>>> Basically, could you point me towards the difference if I need to
>>>> implement, in order to use blemesh instead.
>>>>> 
>>>>> From what I gathered / understood after going through the code is that
>>>> blemesh_shell basically allows various functions to be triggered through
>>>> shell commands.
>>>>> 
>>>>> Thanks,
>>>>> Aditya Xavier.
>>>>> 
>>>>> 
>>>>>> On 03-Apr-2018, at 3:54 PM, Michał Narajowski <
>>>> [email protected]> wrote:
>>>>>> 
>>>>>> Hi Aditya,
>>>>>> 
>>>>>> Please set BLE_MESH: 1 and BLE_MESH_SHELL: 1 and you should be able to
>>>>>> use both btshell and mesh shell. Let us know how that works for you.
>>>>>> [email protected] <mailto:[email protected]>
>>>>>> Best regards
>>>>>> Michał
>>>>>> 
>>>>>> 2018-04-03 7:56 GMT+02:00 Aditya Xavier <[email protected] 
>>>>>> <mailto:[email protected]>>:
>>>>>>> Hi Łukasz,
>>>>>>> 
>>>>>>> Any pointers, as to what needs to be implemented from the
>>>> blemesh_shell app ?
>>>>>>> 
>>>>>>> 
>>>>>>> Thanks,
>>>>>>> Aditya Xavier.
>>>>>>> 
>>>>>>>> On 02-Apr-2018, at 11:34 PM, Łukasz Rymanowski <
>>>> [email protected] <mailto:[email protected]>> 
>>>> wrote:
>>>>>>>> 
>>>>>>>> Second thought
>>>>>>>> [email protected] <mailto:[email protected]>
>>>>>>>> Aditya,
>>>>>>>> Since I did not test it a lot, would it be possible to give us
>>>> feedback how
>>>>>>>> it works for you?
>>>>>>>> 
>>>>>>>> Best
>>>>>>>> Lukasz
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> 
>>>>>>>> On Mon, Apr 2, 2018, 20:01 Łukasz Rymanowski <
>>>> [email protected]>
>>>>>>>> wrote:
>>>>>>>> 
>>>>>>>>> Hi Aditya.
>>>>>>>>> 
>>>>>>>>> On Mon, Apr 2, 2018, 19:14 Aditya Xavier <[email protected]>
>>>> wrote:
>>>>>>>>> 
>>>>>>>>>> Hi Łukasz,
>>>>>>>>>> 
>>>>>>>>>> Is there anything special required to get this working along with
>>>> BLE ?
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>> For e.g. would the btshell app code for ADV_EXT work along with
>>>> mesh with
>>>>>>>>>> the provided patches ?
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> In addition to configuration mentioned in PR commit message, the
>>>> btshell
>>>>>>>>> app would have to enable ble mesh and ble mesh shell (check
>>>> blemesh_shell
>>>>>>>>> app for that)
>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Mesh and BLE seems to compile however, am currently unable to get
>>>> Mesh
>>>>>>>>>> working.
>>>>>>>>>> 
>>>>>>>>>> Also, any reason why this was not accepted yet ?
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> People are busy with other stuff I guess. I think it will be merged
>>>>>>>>> eventually.
>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>> Thanks,
>>>>>>>>>> Aditya Xavier.
>>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Best
>>>>>>>>> Lukasz
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>> 
>>>>>>>>>>> On 20-Mar-2018, at 12:57 AM, Sterling Hughes <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>> 
>>>>>>>>>>> +1 - this is great, thanks Lukasz!
>>>>>>>>>>> 
>>>>>>>>>>> On 19 Mar 2018, at 6:36, Łukasz Rymanowski wrote:
>>>>>>>>>>> 
>>>>>>>>>>>> Hi All,
>>>>>>>>>>>> 
>>>>>>>>>>>> I saw people asking around about possibility to advertise with
>>>> non-mesh
>>>>>>>>>>>> data while mesh is running on Mynewt.  Well this is possible to
>>>> do but
>>>>>>>>>> of
>>>>>>>>>>>> course it brings a lot of risk for mesh operations and
>> especially
>>>> for
>>>>>>>>>>>> friendship scenario. However I went ahead and added support for
>>>> this in
>>>>>>>>>>>> Mynewt and I'm interested in how it works for you.
>>>>>>>>>>>> 
>>>>>>>>>>>> So here is a PR which makes use of multi instances from BT5
>>>> Advertising
>>>>>>>>>>>> extensions and basically allows you to create additional
>> instances
>>>>>>>>>> which
>>>>>>>>>>>> contains non-mesh data.
>>>>>>>>>>>> 
>>>>>>>>>>>> https://github.com/apache/mynewt-nimble/pull/8
>>>>>>>>>>>> 
>>>>>>>>>>>> Instructions on how to enable it you can find in the commit
>>>> message.
>>>>>>>>>>>> 
>>>>>>>>>>>> Comments are welcome
>>>>>>>>>>>> 
>>>>>>>>>>>> Best
>>>>>>>>>>>> Łukasz

Reply via email to