Trait chirpstack_api::nc::network_controller_service_server::NetworkControllerService [−][src]
pub trait NetworkControllerService: Send + Sync + 'static { fn handle_uplink_meta_data<'life0, 'async_trait>(
&'life0 self,
request: Request<HandleUplinkMetaDataRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn handle_downlink_meta_data<'life0, 'async_trait>(
&'life0 self,
request: Request<HandleDownlinkMetaDataRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn handle_uplink_mac_command<'life0, 'async_trait>(
&'life0 self,
request: Request<HandleUplinkMacCommandRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn handle_rejected_uplink_frame_set<'life0, 'async_trait>(
&'life0 self,
request: Request<HandleRejectedUplinkFrameSetRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; }
Expand description
Generated trait containing gRPC methods that should be implemented for use with NetworkControllerServiceServer.
Required methods
HandleUplinkMetaData handles uplink meta-rata.
HandleDownlinkMetaData handles downlink meta-data.
HandleUplinkMACCommand handles an uplink mac-command. This method will only be called in case the mac-command request was enqueued throught the API or when the CID is >= 0x80 (proprietary mac-command range).
HandleRejectedUplinkFrameSet handles a rejected uplink. And uplink can be rejected in the case the device has not (yet) been provisioned, because of invalid frame-counter, MIC, …