Platforms to show: All Mac Windows Linux Cross-Platform
Back to WindowsBlueToothDeviceMBS class.
WindowsBlueToothDeviceMBS.Comment as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
(Read only property)
WindowsBlueToothDeviceMBS.LocalAddress as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
In a client application, pass this address to the bind function to obtain access to a network service.
In a network service, pass this address to the bind function so that the service is bound to the appropriate local address.
e.g. "(78:4F:12:34:56:78)"
(Read only property)
WindowsBlueToothDeviceMBS.Name as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
e.g. "Christian Schmitz iPhone"
(Read only property)
WindowsBlueToothDeviceMBS.RemoteAddress as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
There are several uses for this remote address:
- You can use this remote address to connect to the service through the connect function. This is useful if an application performs send/receive operations that involve connection-oriented protocols.
- You can use this remote address with the sendto function when you are communicating over a connectionless (datagram) protocol. If you are using a connectionless protocol, such as UDP, sendto is typically the way you pass data to the remote system.
e.g. "(44:00:12:34:56:78)"
(Read only property)
WindowsBlueToothDeviceMBS.SocketProtocol as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
The possible options for the protocol parameter are specific to the address family and socket type specified.
Name | Value | Meaning |
IPPROTO_TCP | 6 | The Transmission Control Protocol (TCP). This is a possible value when the address family is AF_INET or AF_INET6 and the iSocketType member is SOCK_STREAM. |
IPPROTO_UDP | 17 | The User Datagram Protocol (UDP). This is a possible value when the address family is AF_INET or AF_INET6 and the iSocketType member is SOCK_DGRAM. |
IPPROTO_RM | 113 | The PGM protocol for reliable multicast. This is a possible value when the address family is AF_INET and the iSocketType member is SOCK_RDM. On the Windows SDK released for Windows Vista and later, this value is also called IPPROTO_PGM. |
WindowsBlueToothDeviceMBS.SocketType as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Bluetooth | MBS Bluetooth Plugin | 18.3 | ❌ No | ✅ Yes | ❌ No | ❌ No | All |
Name | Value | Meaning |
SOCK_STREAM | 1 | A stream socket. This is a protocol that sends data as a stream of bytes, with no message boundaries. This socket type provides sequenced, reliable, two-way, connection-based byte streams with an OOB data transmission mechanism. This socket type uses the Transmission Control Protocol (TCP) for the Internet address family (AF_INET or AF_INET6). |
SOCK_DGRAM | 2 | A datagram socket. This socket type supports datagrams, which are connectionless, unreliable buffers of a fixed (typically small) maximum length. This socket type uses the User Datagram Protocol (UDP) for the Internet address family (AF_INET or AF_INET6). |
SOCK_RDM | 4 | A reliable message datagram socket. This socket type preserves message boundaries in data. An example of this type is the Pragmatic General Multicast (PGM) multicast protocol implementation in Windows, often referred to as reliable multicast programming. |
SOCK_SEQPACKET | 5 | A sequenced packet stream socket. This socket type provides a pseudo-stream packet based on datagrams. |
The items on this page are in the following plugins: MBS Bluetooth Plugin.