This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
wiki:pan_nap_role_guide [2017/10/22 16:05] 1.241.172.144 created |
wiki:pan_nap_role_guide [2017/10/22 16:08] (current) 1.241.172.144 [Typical uses] |
||
|---|---|---|---|
| Line 55: | Line 55: | ||
| *Listening IAP | *Listening IAP | ||
| - | \\ | + | |
| As with other PAN profiles but for the NAP role to be used with the listening IAP NapServiceEnabled must be set to TRUE. | As with other PAN profiles but for the NAP role to be used with the listening IAP NapServiceEnabled must be set to TRUE. | ||
| - | \\ | + | |
| *Outgoing connection IAP | *Outgoing connection IAP | ||
| - | \\ | + | |
| There are no special considerations for an outgoing connection. | There are no special considerations for an outgoing connection. | ||
| - | \\ | + | |
| *Uplink IAP | *Uplink IAP | ||
| - | \\ | + | |
| An IAP for WIFI, GPRS or some other uplink mechanism. PAN notifiers will decide if an uplink is required. The device may have a policy in place to automatically deal with uplink requests in some way or it may have a policy to prompt the user to decide how to proceed with uplink requests. | An IAP for WIFI, GPRS or some other uplink mechanism. PAN notifiers will decide if an uplink is required. The device may have a policy in place to automatically deal with uplink requests in some way or it may have a policy to prompt the user to decide how to proceed with uplink requests. | ||
| - | \\ | + | |
| *DHCP | *DHCP | ||
| - | \\ | + | |
| The listener IAP contains an entry reference to a specific LANService table entry which will contain the DHCP configuration details. | The listener IAP contains an entry reference to a specific LANService table entry which will contain the DHCP configuration details. | ||
| - | \\ | + | |
| ... | ... | ||
| ConfigDaemonManagerName=NetCfgExtnDhcp | ConfigDaemonManagerName=NetCfgExtnDhcp | ||
| Line 93: | Line 93: | ||
| A PAN agent notifier is used to decide how to deal with a request for an uplink. Either the user will be prompted or an automated policy will be used to to decide how to handle the uplink request. There are three possible return values for an uplink request: | A PAN agent notifier is used to decide how to deal with a request for an uplink. Either the user will be prompted or an automated policy will be used to to decide how to handle the uplink request. There are three possible return values for an uplink request: | ||
| - | \\ | + | |
| *EDisallowNewConnection | *EDisallowNewConnection | ||
| - | \\ | + | |
| The PAN connection is not allowed and the temporary connection is severed. | The PAN connection is not allowed and the temporary connection is severed. | ||
| - | \\ | + | |
| *EAcceptNapConnectionAllowUplinkAccess | *EAcceptNapConnectionAllowUplinkAccess | ||
| - | \\ | + | |
| The connection will be allowed and the access will be granted to the uplink. Any other active connections will be automatically disconnected. | The connection will be allowed and the access will be granted to the uplink. Any other active connections will be automatically disconnected. | ||
| - | \\ | + | |
| *EAcceptNapConnectionDisallowUplinkAccess | *EAcceptNapConnectionDisallowUplinkAccess | ||
| - | \\ | + | |
| The connection will be allowed but no access will be given to the uplink. | The connection will be allowed but no access will be given to the uplink. | ||
| Line 151: | Line 151: | ||
| *Internal IP address: | *Internal IP address: | ||
| - | |||
| iNaptInfo().iPrivateIp.SetAddress(privateAddr); | iNaptInfo().iPrivateIp.SetAddress(privateAddr); | ||
| - | |||
| *External IP address: | *External IP address: | ||
| - | |||
| iNaptInfo().iPublicIp.SetAddress(publicAddr); | iNaptInfo().iPublicIp.SetAddress(publicAddr); | ||
| - | |||
| *Bluetooth PAN IAP Id: | *Bluetooth PAN IAP Id: | ||
| - | |||
| iNaptInfo().iPrivateIap = iPanIapHelper->IapId(); | iNaptInfo().iPrivateIap = iPanIapHelper->IapId(); | ||
| - | |||
| *Uplink IAP ID: | *Uplink IAP ID: | ||
| - | |||
| iNaptInfo().iPublicIap = iUplinkIapHelper->IapId(); | iNaptInfo().iPublicIap = iUplinkIapHelper->IapId(); | ||
| - | [Top] | ||
| - | |||
| - | See also | ||
| - | |||
| - | Please refer to the following for more information: | ||
| - | |||
| - | PAN Profile Overview | ||
| - | |||
| - | Bluetooth Profiles | ||
| - | |||
| - | Bluetooth Protocols | ||
| - | |||
| - | Bluetooth PAN Tutorial series | ||
| - | |||
| - | Creating a Personal Area Network | ||
| - | |||
| - | Adding a device to the PAN | ||
| - | |||
| - | Removing a device from the PAN | ||
| - | Closing the PAN | ||
| - | Related Items | ||
| - | Related APIs | ||
| - | RConnection | ||
| - | RSocketServ | ||
| - | RSocket | ||
| - | CCommsDatabase | ||
| - | TProtocolDecs | ||
| - | TNifProgress | ||