Patent claim: A method for setting up a local service session in a shortrange wireless communication network the local service session enabling a wireless communication device 102 to utilize one or more services provided by a proximate wireless communications device 110 through wireless shortrange communication comprising sending by the wireless communications device 102 through a longrange wireless portion 222 a request for preconfiguration information over a longrange network 104 to a remote destination 112 the preconfiguration information enabling establishment of the local service session with the proximate wireless communications device 110 receiving by the wireless communications device 102 through the longrange wireless portion 222 from the remote destination 112 the requested preconfiguration information wherein the requested preconfiguration information includes one or more security keys for performing an authentication process with the proximate wireless communications device 110 over shortrange wireless communication to effect a security feature such as link encryption with the proximate wireless communications device performing by the wireless communications device 102 through a shortrange wireless portion 220 the authentication process for effecting the security feature with the proximate wireless communications device using the received one or more security keys for enabling establishment of the local service session with the proximate wireless communications device 110 over shortrange wireless communication and establishing by the wireless communications device 102 through the shortrange wireless portion 220 the local service session with the proximate wireless communications device 110 over the shortrange wireless communications after the authentication process thereby to enable the wireless communications device to utilize one or more services provided by the proximate wireless communications device through wireless shortrange communication.

Related passage: Fig.3b illustrates the message flow during the communications session described in connection with fig.3a.The messages and message sequences between the user communications device 310 and the service communications device 311 are illustrated as horizontal arrows between the two vertical lines 310a and 311a representing the user communications device 310 and the service communications device 311 respectively.After a connection between the user communications device 310 and the service communications device 311 is established by the message sequence 312 a WTLS handshake is performed by the message sequence 313.A result of the WTLS handshake interaction is a shared secret or master secret.At the service communications device 311 the shared secret and a corresponding identifier e.g.the BDADDR of the user communications device are communicated from the WTLS manager to the Bluetooth security manager via the interface 242 shown in fig.2b and stored as a PIN value and corresponding BDADDR in a memory or a storage medium 315 e.g.via a functionstorePIN 314.At the user communications device 310 the shared secret and a corresponding BDADDR are communicated from the WTLS manager to the Bluetooth security manager via the interface 233 shown in fig.2b and stored as a PIN value and corresponding BDADDR in a memory or a storage medium 317 e.g.via a corresponding function storePIN 316.