What is promiscous mode ?

274 views
Skip to first unread message

mad...@pathpartnertech.com

unread,
Apr 4, 2017, 11:18:49 AM4/4/17
to openthread-users
Hi all,


         What is promiscuous mode ?
 When i enable it while running the CLI , it is displaying some raw  data. ?

Is that fully implemented in OT ?

Thanks and Regards
R Madhu

Jonathan Hui

unread,
Apr 4, 2017, 11:46:02 AM4/4/17
to mad...@pathpartnertech.com, openthread-users
Generally speaking, promiscuous mode disables hardware packet filtering within the radio and is used to support a sniffer tool.  It allows a device to receive IEEE 802.15.4 frames regardless of the destination PAN or destination unicast address.

In OpenThread, the promiscuous capability is used to support packet sniffing in the following ways:
1) On the CLI, the raw data that you see is the raw IEEE 802.15.4 frames that are received over the air.
2) On the NCP, the sniffer capability is exported over Spinel and may be used with the Sniffer Tool or wpantund directly.

Hope that helps.

--
Jonathan Hui


This message contains confidential information and is intended only for the individual(s) named. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this mail and attached file/s is strictly prohibited. Please notify the sender immediately and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.

--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-users+unsubscribe@googlegroups.com.
To post to this group, send email to openthread-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/1a99bdc3-0244-4257-981e-46610c48560b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mad...@pathpartnertech.com

unread,
Apr 4, 2017, 12:14:51 PM4/4/17
to openthread-users, mad...@pathpartnertech.com, jon...@nestlabs.com
yes ,Thanks jonathan for quick answers.

In the same way can brief about dataset command. ?


Thanks and Regards
R Madhu



On Tuesday, April 4, 2017 at 9:16:02 PM UTC+5:30, Jonathan Hui wrote:
Generally speaking, promiscuous mode disables hardware packet filtering within the radio and is used to support a sniffer tool.  It allows a device to receive IEEE 802.15.4 frames regardless of the destination PAN or destination unicast address.

In OpenThread, the promiscuous capability is used to support packet sniffing in the following ways:
1) On the CLI, the raw data that you see is the raw IEEE 802.15.4 frames that are received over the air.
2) On the NCP, the sniffer capability is exported over Spinel and may be used with the Sniffer Tool or wpantund directly.

Hope that helps.

--
Jonathan Hui

On Tue, Apr 4, 2017 at 8:18 AM, <mad...@pathpartnertech.com> wrote:
Hi all,


         What is promiscuous mode ?
 When i enable it while running the CLI , it is displaying some raw  data. ?

Is that fully implemented in OT ?

Thanks and Regards
R Madhu

This message contains confidential information and is intended only for the individual(s) named. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this mail and attached file/s is strictly prohibited. Please notify the sender immediately and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.

--
You received this message because you are subscribed to the Google Groups "openthread-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openthread-use...@googlegroups.com.
To post to this group, send email to openthre...@googlegroups.com.

Jonathan Hui

unread,
Apr 4, 2017, 12:30:53 PM4/4/17
to mad...@pathpartnertech.com, openthread-users
The dataset command is used to manipulate Active and Pending Operational Datasets.

Thread Operational Datasets encapsulate the network configuration parameters (channel, panid, master key, etc.).  The Active Operational Dataset is what's actively in use by the Thread network.  The Pending Operational Dataset is used to disseminate changes (especially those that can break connectivity, like channel, master key) before the settings are actually applied.

You can learn more about Operational Datasets in the Thread Specification.

--
Jonathan Hui

To unsubscribe from this group and stop receiving emails from it, send an email to openthread-users+unsubscribe@googlegroups.com.
To post to this group, send email to openthread-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openthread-users/1b0a34ae-e3a6-4d4c-8a2c-58c4a5006a2a%40googlegroups.com.

Madhu R

unread,
Apr 5, 2017, 12:48:00 AM4/5/17
to Jonathan Hui, openthread-users
Thank you Jonathan.
This document gives lot of information.

mad...@pathpartnertech.com

unread,
May 8, 2017, 12:22:30 PM5/8/17
to openthread-users, jon...@nestlabs.com
Hi Jonathan,

           What is the difference between scan and discover.?
 I tried to traverse discover command , I didn't get how the channel numbers are assigned to discover (i.e., from 11 to 26). I mean how the discover code is taken channel numbers?.
Thank you.

Regards,
Madhu R

Jonathan Hui

unread,
May 8, 2017, 12:45:17 PM5/8/17
to mad...@pathpartnertech.com, openthread-users
Scan uses IEEE 802.15.4 Beacon Request and Beacons.

Discover uses MLE Discovery Request/Response messages as defined in Thread 1.1 Section 8.4.4.

The `otThreadDiscover` API has an `aScanChannels` argument that takes a channel mask.  The channel mask values are defined in openthread/types.h.

Hope that helps.

--
Jonathan Hui


--
Jonathan Hui


This message contains confidential information and is intended only for the individual(s) named. If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this mail and attached file/s is strictly prohibited. Please notify the sender immediately and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.

mad...@pathpartnertech.com

unread,
May 9, 2017, 1:26:00 AM5/9/17
to openthread-users, mad...@pathpartnertech.com
Thanks Jonathan,

Regards,
R Madhu.
Reply all
Reply to author
Forward
0 new messages