__all__ = (
"Stream",
"class_by_prefix",
+ "enframe",
+ "exposed_protos",
"inline_response",
"proto_handled",
"parse_message",
retobj.PROTO = proto # Override class attr with object attr
retobj.cause = cause
return retobj
+
+
+def exposed_protos() -> List[Tuple[str, bool]]:
+ return [
+ (proto_name(GPS_POSITIONING), True),
+ (proto_name(WIFI_POSITIONING), False),
+ (proto_name(STATUS), True),
+ ]