mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 02:11:15 +03:00
Added Java support and bindings
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
181823cb20
commit
7e2ae96c1f
18
src/hmtrp/javaupm_hmtrp.i
Normal file
18
src/hmtrp/javaupm_hmtrp.i
Normal file
@ -0,0 +1,18 @@
|
||||
%module javaupm_hmtrp
|
||||
%include "../upm.i"
|
||||
%include "stdint.i"
|
||||
%include "typemaps.i"
|
||||
|
||||
%apply uint32_t *OUTPUT { uint32_t *freq, uint32_t *dataRate };
|
||||
%apply uint16_t *OUTPUT { uint16_t *rxBandwidth };
|
||||
%apply uint8_t *OUTPUT { uint8_t *modulation, uint8_t *txPower };
|
||||
%apply uint32_t *OUTPUT { uint32_t *uartBaud };
|
||||
%apply uint8_t *OUTPUT { uint8_t *strength };
|
||||
|
||||
%{
|
||||
#include "hmtrp.h"
|
||||
speed_t int_B9600 = B9600;
|
||||
%}
|
||||
|
||||
%include "hmtrp.h"
|
||||
speed_t int_B9600 = B9600;
|
Reference in New Issue
Block a user