connectCUsb abstract method

  1. @Get()
Future<Response<AlifResponse<Map<String, dynamic>>>> connectCUsb({
  1. @Query('rx') required String receiverMac,
  2. @Query('tx') required String transmitterMac,
  3. @Query() required String token,
  4. @Query('v') int version = 6,
  5. @Query() String method = 'connect_c_usb',
})

This method connects a C-USB LAN network extender receiver to a C-USB LAN network extender transmitter.

Note that if either the receiver or the transmitter is currently connected, it will have to be disconnected first.

Implementation

@Get()
Future<Response<AlifResponse<Map<String, dynamic>>>> connectCUsb({
  /// The MAC address of the C-USB LAN extender receiver
  @Query('rx') required String receiverMac,

  /// The MAC address of the C-USB LAN extender receiver
  @Query('tx') required String transmitterMac,

  /// Authentication token of a currently logged-in user (active session)
  @Query() required String token,

  /// The AIM API version this request is designed for
  @Query('v') int version = 6,

  /// The remote procedure to call. Do not edit this
  @Query() String method = 'connect_c_usb',
});