pamoja for TypeScript - v0.1.17
    Preparing search index...

    Function schemaFor

    • Returns the shape of a message the engine types.

      Parameters

      • message: string | number

        The message id or name, such as 33 or GLOBAL_POSITION_INT.

      Returns MessageSchema

      The shape.

      If this build does not type that message, in which case describe it with MessageSchemaBuilder.

      const position = schemaFor('GLOBAL_POSITION_INT')
      console.log(position.id, position.wireLen)