inline c

  1. Martin Larsen

    B4R Question Inline C: List of methods of B4R::Object* ?

    You can pass a parameter to native C functions like explained her: https://www.b4x.com/android/forum/threads/inline-c-c.65714/ #if C #include <Narcoleptic.h> void Delay (B4R::Object* o) { Narcoleptic.delay(o->toULong()); } #End if The code above uses o->toULong(). From other posts I have...
  2. KMatle

    B4R Tutorial Using RSA on a ESP32 via Inline C

    Here's nother example how to use RSA on a ESP32 based on this documentation: https://tls.mbed.org/kb/how-to/encrypt-and-decrypt-with-rsa Notes: - If the filesystem does not work, you need to format it with fs.format once. - I've just copied the Public and Private Key from another app - Both...
  3. Chris160179

    B4R Question Set an dynamicaly IP address as static IP with Inline C# for ESP8266

    Hello everybody, i would like to pass an IP address direct to the Inline C# "Void SetIP Sub" Is there a way? This code works. RunNative( "SetIP" , Null ) #if C void SetIP(B4R::Object* o) { IPAddress ip(192, 168, 10, 101); IPAddress gateway(192, 168, 1, 1); IPAddress subnet(255...
Top