Hi Łukasz,

Thanks for quick reply and a quick update.

I followed the guideline ...got a bit confused on the logging of the rtt2pty 
tool:
../tools-rtt2pty/rtt2pty -b btmonitor
Using jlinkarm found at /opt/SEGGER/JLink/libjlinkarm.so
Connected to:
  J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 12 2018 11:44:41
  S/N: 683623237
Searching for RTT control block...
Failed to find matching up-buffer

Running it without the -b btmonitor I could get a pty port.

Monitoring showed some logging, not like the one from the codecoup btmon link 
but a starting point.

021819 Extended adv: 'conn' incomplete rssi=-60 txpower=127, pphy=1, sphy=1, 
sid=10, addr_type=0 addr=66:55:44:33:22:11
021822  length_data=229 
data=0x19:0x09:0x48:0x65:0x6c:0x6c:0x6f:0x2c:0x20:0x49:0x27:0x6d:0x20:0x61:0x64:0x76:0x65:0x72:0x74:0x69:0x7
....
021853 Extended adv: 'conn' complete rssi=-60 txpower=127, pphy=1, sphy=1, 
sid=10, addr_type=0 addr=66:55:44:33:22:11
021856  length_data=15 
data=0x69:0x6e:0x67:0x20:0x39:0x19:0x09:0x48:0x65:0x6c:0x6c:0x6f:0x2c:0x20:0x49 
fields:
021859
021859 Extended adv: 'conn' incomplete rssi=-53 txpower=127, pphy=1, sphy=1, 
sid=10, addr_type=0 addr=66:55:44:33:22:11
021862  length_data=229 
data=0x19:0x09:0x48:0x65:0x6c:0x6c:0x6f:0x2c:0x20:0x49:0x27:0x6d:0x20:0x61:0x64:0x76:0x65:0x72:0x74:0x69:0x7
....
....
021861 received advertisement; event_type=4 rssi=-82 addr_type=1 
addr=f1:80:b4:61:d2:c6 length_data=29 
data=0x02:0x0a:0x04:0x19:0x09:0x45:0x78:0x70:0x65:0x72:0x74:0x26:0x4d:0x69:0x6c:0x6b:0x5f:0x46:0x31:0x38:0x30:0x42:0x34:0x36:0x31:0x44:0x32:0x43:0x35
 fields:
021868     name(complete)=Expert&Milk_F180B461D2C5
021869     tx_pwr_lvl=4

Time to start further debugging 😊

Thank,
Marc

>Hello Marc,
>
>There is no additional configuration needed as long as you are using 1M PHY.
>Would be good to get some logs and best would be to have btmon logs:
>https://www.codecoup.pl/blog/support-for-btmon-in-mynewt/
>
>Best
>Łukasz
>>On Mon, 8 Oct 2018 at 12:29, Marc BT <[email protected]> wrote:
>>
>> Hello all,
>>
>> I'm trying to configure two Nordic nRF52840-DK boards, one as advertiser 
>> (Extended Advertise),
the other as scanner (Extended Scan).
>>
>> Compile settings (newt target amend ....):
>>
>>   *   BLE_EXT_ADV = 1
>>   *   BLE_EXT_ADV_MAX_SIZE = 700
>>
>>  I've used a TI kit to verify the existence of Extended Advertising.
>>
>> The  board configured as Extended Advertiser works, the advertising packets 
>> can be seen
on the TI board.
>> The board configured as Extended Scanner doesn't return any advertising 
>> events.
>>
>> The HCI commands to setup the Extended Scan don't return any status error.
>>
>> Am I missing some compile switches ?
>>
>> Kind regards,
>> Marc

________________________________
From: Marc BT
Sent: Monday, October 8, 2018 12:13 PM
To: [email protected]
Subject: NimBLE Extended Scan

Hello all,

I'm trying to configure two Nordic nRF52840-DK boards, one as advertiser 
(Extended Advertise), the other as scanner (Extended Scan).

Compile settings (newt target amend ....):

  *   BLE_EXT_ADV = 1
  *   BLE_EXT_ADV_MAX_SIZE = 700

 I've used a TI kit to verify the existence of Extended Advertising.

The  board configured as Extended Advertiser works, the advertising packets can 
be seen on the TI board.
The board configured as Extended Scanner doesn't return any advertising events.

The HCI commands to setup the Extended Scan don't return any status error.

Am I missing some compile switches ?

Kind regards,
Marc

Reply via email to