WIP: generic board-info

Change-Id: I0642269c924a0abe464a64c004681f507f14bc92
This commit is contained in:
Harald Welte
2023-09-06 17:53:06 +02:00
parent 73a8ef31f1
commit 4a8ec296fa
3 changed files with 45 additions and 1 deletions

View File

@@ -154,6 +154,19 @@ int osmo_st2_slot_tx_msg(struct osmo_st2_slot *slot, struct msgb *msg,
return rc;
}
/***********************************************************************
* Generic protocol
***********************************************************************/
/*! \brief Requeset the SIMtrace2 board information structure from the device */
int osmo_st2_generic_request_board_info(struct osmo_st2_slot *slot)
{
struct msgb *msg = st_msgb_alloc();
return osmo_st2_slot_tx_msg(0, msg, SIMTRACE_MSGC_GENERIC, SIMTRACE_CMD_BD_BOARD_INFO);
}
/***********************************************************************
* Card Emulation protocol
***********************************************************************/