Skip to content

IoT Wireless

CloudMock emulates AWS IoT Wireless (LoRaWAN and Sidewalk), supporting wireless devices, gateways, device profiles, service profiles, destinations, and tagging.

OperationStatusNotes
CreateWirelessDeviceSupportedLoRaWAN or Sidewalk device types
GetWirelessDeviceSupportedReturns device details
ListWirelessDevicesSupportedLists all wireless devices
UpdateWirelessDeviceSupportedUpdates name, destination, description
DeleteWirelessDeviceSupportedDeletes a device
CreateWirelessGatewaySupportedCreates a LoRaWAN gateway
GetWirelessGatewaySupportedReturns gateway details
ListWirelessGatewaysSupportedLists all gateways
UpdateWirelessGatewaySupportedUpdates name and description
DeleteWirelessGatewaySupportedDeletes a gateway
CreateDeviceProfileSupportedValidates LoRaWAN RfRegion
GetDeviceProfileSupportedReturns device profile
ListDeviceProfilesSupportedLists device profiles
DeleteDeviceProfileSupportedDeletes a device profile
CreateServiceProfileSupportedCreates a service profile
GetServiceProfileSupportedReturns service profile
ListServiceProfilesSupportedLists service profiles
DeleteServiceProfileSupportedDeletes a service profile
CreateDestinationSupportedCreates routing destination
GetDestinationSupportedReturns destination details
ListDestinationsSupportedLists destinations
UpdateDestinationSupportedUpdates destination expression
DeleteDestinationSupportedDeletes a destination
TagResourceSupportedAdds tags to a resource
UntagResourceSupportedRemoves tags from a resource
ListTagsForResourceSupportedLists tags for a resource
import boto3
client = boto3.client('iotwireless',
endpoint_url='http://localhost:4566',
region_name='us-east-1',
aws_access_key_id='test',
aws_secret_access_key='test')
device = client.create_wireless_device(
Type='LoRaWAN',
Name='sensor-001',
DestinationName='my-destination',
)
print(device['Id'])
services:
iotwireless:
enabled: true
  • No actual LoRaWAN or Sidewalk network connectivity
  • Valid RfRegion values: US915, EU868, AU915, AS923-1/2/3/4, CN470, CN779, EU433, IN865, KR920, RU864