Wireless network service transaction protocol
A mobile device may retrieve service information about a network prior to associating with the network. Utilizing an advertisement protocol to transmit service query messages, a mobile device may receive service query responses from a network that identify the services available prior to establishing network capability. In other words, the messaging is prior to the exchange of any authentication parameters between the device and the network as well prior to the establishment of a recognized session between the device and the network.
1. A method for a wireless communications device, the method comprising:
transmitting, from the wireless communication device, a service discovery request comprising a query request field, wherein the query request field includes information identifying a requested service; and
receiving, at the wireless communication device, a service discovery response comprising a query response field, wherein the query response field indicates whether a service matching the requested service is available or not available, and wherein the service discovery request and the service discovery response are Access Network Query Protocol (ANQP) elements, as defined in an IEEE 802.11 specification.
2. The method of claim 1 , wherein the service discovery request and the service discovery response are respectively transmitted and received using a Generic Advertisement Service (GAS).
3. The method of claim 1 , wherein the wireless communication device receives a return code of at least one of “0”, “unknown failure”, “no service available”, or “message too large” in response to transmitting the service discovery request.
4. The method of claim 1 , wherein the query request field is of a variable number of octets in length.
5. The method of claim 1 , wherein the query response field is of a variable number of octets in length.
6. The method of claim 1 , wherein the service discovery request includes an identifier (ID) field of 2-octets in size and a length field of 2-octets in size.
7. The method of claim 1 , wherein the service discovery response includes an identifier (ID) field of 2-octets in size and a length field of 2-octets in size.
8. A wireless communications device, comprising:
a memory storing instructions; and
a processor coupled to the memory and configured to execute the instructions, which cause the processor to be configured to:
transmit a service discovery request comprising a query request field, wherein the query request field includes information identifying a requested service; and
receive a service discovery response comprising a query response field, wherein the query response field indicates whether a service matching the requested service is available or not available, and wherein the service discovery request and the service discovery response are Access Network Query Protocol (ANQP) elements, as defined in an IEEE 802.11 specification.
9. The wireless communications device of claim 8 , wherein the service discovery request and the service discovery response are respectively transmitted and received using a Generic Advertisement Service (GAS).
10. The wireless communications device of claim 8 , wherein the wireless communication device receives a return code of at least one of “0”, “unknown failure”, “no service available”, or “message too large” in response to transmitting the service discovery request.
11. The wireless communications device of claim 8 , wherein the query request field is of a variable number of octets in length.
12. The wireless communications device of claim 8 , wherein the query response field is of a variable number of octets in length.
13. The wireless communications device of claim 8 , wherein the service discovery request includes an identifier (ID) field of 2-octets in size and a length field of 2-octets in size.
14. The wireless communications device of claim 8 , wherein the service discovery response includes an identifier (ID) field of 2-octets in size and a length field of 2-octets in size.
15. A non-transitory computer-readable medium configured to store a computer program product comprising computer executable instructions that, when executed by a processor of a wireless communications device implemented in a network, cause the processor to be configured to:
transmit a service discovery request comprising a query request field, wherein the query request field includes information identifying a requested service; and
receive a service discovery response comprising a query response field, wherein the query response field indicates whether a service matching the requested service is available or not available, and wherein the service discovery request and the service discovery response are Access Network Query Protocol (ANQP) elements, as defined in an IEEE 802.11 specification.
16. The non-transitory computer-readable medium of claim 15 , wherein the service discovery request and the service discovery response are respectively transmitted and received using a Generic Advertisement Service (GAS).
17. The non-transitory computer-readable medium of claim 15 , wherein the wireless communication device receives a return code of at least one of “0”, “unknown failure”, “no service available”, or “message too large” in response to transmitting the service discovery request.
18. The non-transitory computer-readable medium of claim 15 , wherein the query request field is of a variable number of octets in length.
19. The transitory computer-readable medium of claim 15 , wherein the query response field is of a variable number of octets in length.
20. The non-transitory computer-readable medium of claim 15 , wherein the service discovery request includes an identifier (ID) field of 2-octets in size and a length field of 2-octets in size, and wherein the service discovery response includes an ID field of 2-octets in size and a length field of 2-octets in size.