/AWS1/IF_IOW=>UPDATEWIRELESSDEVICE()¶
About UpdateWirelessDevice¶
Updates properties of a wireless device.
Method Signature¶
METHODS /AWS1/IF_IOW~UPDATEWIRELESSDEVICE
IMPORTING
!IV_ID TYPE /AWS1/IOWWIRELESSDEVICEID OPTIONAL
!IV_DESTINATIONNAME TYPE /AWS1/IOWDESTINATIONNAME OPTIONAL
!IV_NAME TYPE /AWS1/IOWWIRELESSDEVICENAME OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/IOWDESCRIPTION OPTIONAL
!IO_LORAWAN TYPE REF TO /AWS1/CL_IOWLORAWANUPDATEDEV OPTIONAL
!IV_POSITIONING TYPE /AWS1/IOWPOSITIONINGCFGSTATUS OPTIONAL
!IO_SIDEWALK TYPE REF TO /AWS1/CL_IOWSIDEWALKUPWIRELE00 OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iowupdwirelessdevrsp
RAISING
/AWS1/CX_IOWACCESSDENIEDEX
/AWS1/CX_IOWINTERNALSERVEREX
/AWS1/CX_IOWRESOURCENOTFOUNDEX
/AWS1/CX_IOWTHROTTLINGEX
/AWS1/CX_IOWVALIDATIONEX
/AWS1/CX_IOWCLIENTEXC
/AWS1/CX_IOWSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_id TYPE /AWS1/IOWWIRELESSDEVICEID /AWS1/IOWWIRELESSDEVICEID¶
The ID of the resource to update.
Optional arguments:¶
iv_destinationname TYPE /AWS1/IOWDESTINATIONNAME /AWS1/IOWDESTINATIONNAME¶
The name of the new destination for the device.
iv_name TYPE /AWS1/IOWWIRELESSDEVICENAME /AWS1/IOWWIRELESSDEVICENAME¶
The new name of the resource.
The following special characters aren't accepted:
<>^#~$
iv_description TYPE /AWS1/IOWDESCRIPTION /AWS1/IOWDESCRIPTION¶
A new description of the resource.
io_lorawan TYPE REF TO /AWS1/CL_IOWLORAWANUPDATEDEV /AWS1/CL_IOWLORAWANUPDATEDEV¶
The updated wireless device's configuration.
iv_positioning TYPE /AWS1/IOWPOSITIONINGCFGSTATUS /AWS1/IOWPOSITIONINGCFGSTATUS¶
The integration status of the Device Location feature for LoRaWAN and Sidewalk devices.
io_sidewalk TYPE REF TO /AWS1/CL_IOWSIDEWALKUPWIRELE00 /AWS1/CL_IOWSIDEWALKUPWIRELE00¶
The updated sidewalk properties.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iowupdwirelessdevrsp /AWS1/CL_IOWUPDWIRELESSDEVRSP¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->updatewirelessdevice(
io_lorawan = new /aws1/cl_iowlorawanupdatedev(
io_abpv1_0_x = new /aws1/cl_iowupdateabpv1_0_x( 123 )
io_abpv1_1 = new /aws1/cl_iowupdateabpv1_1( 123 )
io_fports = new /aws1/cl_iowupdatefports(
io_positioning = new /aws1/cl_iowpositioning(
iv_clocksync = 123
iv_gnss = 123
iv_stream = 123
)
it_applications = VALUE /aws1/cl_iowapplicationconfig=>tt_applications(
(
new /aws1/cl_iowapplicationconfig(
iv_destinationname = |string|
iv_fport = 123
iv_type = |string|
)
)
)
)
iv_deviceprofileid = |string|
iv_serviceprofileid = |string|
)
io_sidewalk = new /aws1/cl_iowsidewalkupwirele00( new /aws1/cl_iowsidewalkposition00( |string| ) )
iv_description = |string|
iv_destinationname = |string|
iv_id = |string|
iv_name = |string|
iv_positioning = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.