Submission Title: Coding example for the ULI

Slides:



Advertisements
Similar presentations
Submission Title: [LB 28 Results] Date Submitted: [14 March 2005]
Advertisements

Submission Title: [Add name of submission]
June 2006 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Proposed Scenarios for Usage Model Document.
Submission Title: Coding example for the ULI
doc.: IEEE <doc#>
Submission Title: [Multi-band OFDM Proposal References]
doc.: IEEE <doc#>
November 18 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: TG4d Closing Report for Hawaii July 2007.
March 2008 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Toumaz response to TG6 Call for Applications]
<month year> doc.: IEEE < e>
doc.: IEEE <doc#>
Submission Title: Example of P2P route discovery
doc.: IEEE <doc#>
doc.: IEEE <doc#>
<month year> doc.: IEEE <xyz> January 2001
Submission Title: Coding example for the ULI
doc.: IEEE <doc#>
<month year> doc.: IEEE < e>
Project: IEEE P WG for Wireless Personal Area Networks (WPANs)
November 2015 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: Text Proposal for FCC NPRM Response Date.
February 19 May 2010 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: LECIM-IG Closing Report for Beijing.
May 2010 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Proposed Resolution To The FCC Part
Submission Title: [Proposal for Short Address Multicast]
doc.: IEEE <doc#>
<month year> doc.: IEEE <xyz> November 2000
Submission Title: [IEEE WPAN Mesh Reference Model]
doc.: IEEE /XXXr0 Sep 19, 2007 June 2009
doc.: IEEE <doc#>
Submission Title: [Frame and packet structure in ]
November 2006 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Simplified geometry for the usage model.
<month year> <Nov 2018>
doc.: IEEE <doc#>
<month year> doc.: IEEE < e>
doc.: IEEE <doc#>
Mar 2015 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: Mar 2015 closing report Date Submitted: Mar.
March 2019 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [DF6 Radio-burst length over PSDU size] Date.
March 2018 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: Summary of PHY proposals Date Submitted: March.
November 2015 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: Text Proposal for FCC NPRM Response Date.
Submission Title: [Proposed Resolution for FSK/GFSK Prior Comments]
May 2013 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: May 2013 closing report Date Submitted: May.
Tero Kivinen, AuthenTec
Tero Kivinen, INSIDE Secure
Submission Title: May Closing report for IG 9a
Submission Title: May Closing report for IG 9a
doc.: IEEE <doc#>
<month year> doc.: IEEE <030158r0> <March 2003>
Submission Title: [LB 28 Results] Date Submitted: [14 March 2005]
June, 2010 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [OFDM PHY Mode Representation] Date Submitted:
Tero Kivinen, AuthenTec
Robert Moskowitz, Verizon
September 2008 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Suggested TG3c PAR Changes] Date Submitted:
Mar 2008 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Resolution for Comment 70 ] Date Submitted:
Mar 2008 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Resolution for Comment 70 ] Date Submitted:
Submission Title: [Consolidation of Ranging Results]
<month year> <doc.: IEEE doc> September 2015
August, 2008 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Improve the latency between GTS request.
Doc.: IEEE Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [Summary.
<month year> <doc.: IEEE doc> March 2015
Submission Title: TG9ma Closing Report for July Meeting
Jul 12, /12/10 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: Dependable Interest Group Closing.
Submission Title: TG9ma Agenda for September Meeting
Jul 12, /12/10 Project: IEEE P Working Group for Wireless Specialty Networks (WSN) Submission Title: TG4z EIR Agenda for September 2019 Date.
August 2019 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: MLME-SOUNDING and MLME-CALIBRATE comment.
August 2019 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: MLME-SOUNDING and MLME-CALIBRATE comment.
Jan 2008 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: TeraHertz Closing Report Date Submitted: January.
October 19 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: VAT IG Closing Report May 2017 Date Submitted:
May 2015 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: Source identification Date Submitted: May, 2015.
Submission Title: TG9ma Closing Report for July Meeting
Submission Title: TG9ma Closing Report for September Meeting
12/15/2019 Project: IEEE P Working Group for Wireless Personal Area Networks (WPANs) Submission Title: [AWGN Simulation Results] Date Submitted:
Presentation transcript:

Project: IEEE P802.15 Working Group for Wireless Personal Area Networks (WPANs) Submission Title: Coding example for the ULI Date Submitted: 8 May, 2018 Source: Tero Kivinen Company - E-Mail: kivinen@iki.fi Re: Hello world examples for ULI Abstract: Provide example how the ULI could be configured to send packet out. Purpose: Provide example. Notice: This document has been prepared to assist the IEEE P802.15. It is offered as a basis for discussion and is not binding on the contributing individual(s) or organization(s). The material in this document is subject to change in form and content after further study. The contributor(s) reserve(s) the right to add, amend or withdraw material contained herein. Release: The contributor acknowledges and accepts that this contribution becomes the property of IEEE and may be made publicly available by P802.15.

Code example for ULI Tero Kivinen

Example 1 Sending one IPv6 packet using O-QPSK on 2.4 MHz band using channel 1. Use the Pan Id of 0x1234. First send packet without security

Creating PHY & MAC configuration First we need to create configuration data for the phy & mac layer, i.e., something we can give to the PDE- MGMT-CREATE. The configuration could be Yang or some other format.

Creating PHY & MAC configuration PdeMgmtPhyMacConfig = pack( Phy: { Phy: O-QPSK, # These two might not Band_designator: 2.4Ghz, # be needed. Use defaults Channel: 1 }, Mac: { Pan_Id: 0x1234 })

Creating the profile id Request the MPM to create a new profile based on our phy data. PDE-MGMT-CREATE.request( PdeMgmtPhyMacConfig, Handle)

Getting the profile id back MPM will allocate new profile id and configure it using the configuration data given, and return newly allocated profile id to the upper layer → PDE-MGMT-CREATE.confirm( UliPhyMacProfileId, Handle, Status)

Sending packet Now we have the profile id containing all the phy and mac layer settings, so we can use it to send packet to given destination. PDE-DATA.request( 0x123456789abcdef, # Dst Address 0x86dd, # IPv6 Ethertype UliPhyMacProfileId, # Profile id to use PdeData, # IPv6 payload Handle)

Example 2 Same as before, but now enable KMP using IKEv2, and PSK.

Creating KMP configuration PdeMgmtKmpConfig = pack( Kmp: { KmpProtocol: IKEv2, PeerTable [ { # Host A address: 0x123456789abcdef, PSK: MakeMeTastyGoat }, { # Another host address: 0xac00000012345678, PSK: Foobar } ] })

Now create new profile for KMP PDE-MGMT-CREATE.request( PdeMgmtKmpConfig, Handle) → PDE-MGMT-CREATE.confirm( UliKmpProfileId, Handle, Status)

Combine two profiles PDE-MGMT-COMBINE.request( [ UliPhyMacProfileId, UliKmpProfileId ], Handle) → PDE-MGMT-COMBINE.confirm( UliCombinedProfileId, Handle, Status)

Sending packet Now we have the profile id containing all the phy, mac and kmp layer settings, so we can use it to send packet to given destination. PDE-DATA.request( 0x123456789abcdef, # Dst Address 0x86dd, # IPv6 Ethertype UliCombinedProfileId, # Profile id to use PdeData, # IPv6 payload Handle)