Home | History | Annotate | Download | only in hmtrp
      1 %module javaupm_hmtrp
      2 %include "../upm.i"
      3 %include "stdint.i"
      4 %include "typemaps.i"
      5 %include "../java_buffer.i"
      6 
      7 %apply uint32_t *OUTPUT { uint32_t *freq, uint32_t *dataRate };
      8 %apply uint16_t *OUTPUT { uint16_t *rxBandwidth };
      9 %apply uint8_t *OUTPUT { uint8_t *modulation, uint8_t *txPower };
     10 %apply uint32_t *OUTPUT { uint32_t *uartBaud };
     11 %apply uint8_t *OUTPUT { uint8_t *strength };
     12 
     13 %{
     14     #include "hmtrp.h"
     15     speed_t int_B9600 = B9600;
     16 %}
     17 
     18 %include "hmtrp.h"
     19 speed_t int_B9600 = B9600;
     20