Navigation

    mono community

    Mono

    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Search
    1. Home
    2. raute_at
    R
    • Chat with raute_at
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    raute_at

    @raute_at

    0
    Reputation
    10
    Posts
    874
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    raute_at Follow

    Posts made by raute_at

    • RE: Status of Wifi API?

      Does someone have any suggestions for what can be used for JSON parsing on mono?

      Or other way around is there any plan to add content parsing features to mono framework?

      ... atm I hacked down a really basic string parsing specific for my data ... works, but looks ugly and error prone ;P

      posted in Mono Framework
      R
      raute_at
    • RE: Trying to call periodically a function, mono keep flashing

      I had an issue with a bigger program ... for me it was helpful to read the logoutput of mono: http://developer.openmono.com/en/latest/tutorials/using-monos-serial-port.html

      I think it happens if there is an runtime issue while startup ... but thats just my interpretation

      posted in Issues & Troubleshooting
      R
      raute_at
    • RE: Some thoughts about the current installer

      @stoffera
      Why do you think about .Net serial port when you already got some Qt code that uses serial port?
      ... personally I don't like .Net as it requires nasty runtime installations ... and it got worse since the pre-installed runtimes got incompatible from win7 to win8 -.-

      I already thought that the debug topic could requires some extra hardware :( ... I've some colleages that have to work with that everyday ;)

      posted in Comments & Feedback
      R
      raute_at
    • RE: ConsoleView not working?

      ok, now I got the issues again ... it is depending on output and size of the console view (smaller view and less log output reduce the likelihood)

      so, I pocked into the implementation a bit ... first I suspected those loops in repaint: "while ((*line != '\0' && *line != '\n')) {"
      ... I think they wont work correct when writing lines longer then LineLength, but tweaking this part didn't solve my issue

      so, I thought about how the memory is handled and realized that everything is on the stack ( AppController.console.textBuffer and all my wifi test-code ) ... when I put the console on the heap, the console view works properly!
      Has someone seen any information about the stack size? (a full size console would be 384Bytes of text ... and with the other stuff I'm maybe around 500bytes)
      ... hmm, but I think there should be a lot more space then that (if I read some of the toolchain files correctly the stack is 16kB ...)

      posted in Issues & Troubleshooting
      R
      raute_at
    • RE: ConsoleView not working?

      the code seems to work for me ...

      but when I compiled/installed it the first time the screen stayed white, so I played around with console.setTextColor(...)
      then it worked ... then I removed the setTextColor and it still works O_o and now I'm confused XD

      btw. it is also working without the position, it will then show up at 0,0 (upper left)

      posted in Issues & Troubleshooting
      R
      raute_at
    • RE: Status of Wifi API?

      ... well, I found it -.-
      it was not the initialization that failed, it was some "scanNetworks" code which I tried.
      I fixed the compiler warning (missing "return true;" at the end of the scanNetworks template, redpine_module.h) and now it works

      posted in Mono Framework
      R
      raute_at
    • RE: Status of Wifi API?

      good hint ... and it seems to use the up-to-date ModuleSPICommunication ...
      but I still don't see what I'm doing wrong =/
      as I currently have no SD-card for my Mono, I couldn't try the example as it is =/ ... but maybe I'll take the time to hack around that SD part (or buy a SD tomorrow ^^)
      btw. if someone else is also looking for the example sourcecode, it is here:
      https://github.com/getopenmono/temperature/blob/master/internet_upload.cpp

      posted in Mono Framework
      R
      raute_at
    • RE: Some thoughts about the current installer

      oh, btw. this was based on using "OpenMonoSetup-v1.0.12-x64.exe"

      another point on my mind:
      a real debugger ... I don't have any experience with Arduino or similar platforms, so I'm not sure what kind of tooling is normal for such platforms
      ( I'm usually programming on devices that have at least a basic Linux ... so, I'm used to some remote-gdb ... and most of the time with a nice IDE/GUI like QtCreator or Eclipse ... )

      posted in Comments & Feedback
      R
      raute_at
    • Some thoughts about the current installer

      While trying to create my first small project, I collected some ideas about the current windows ~SDK~

      1. I'm missing some out-of-the-box solution for seeing the console output ... as the mono tools already include some serial port implementation it would be nice to have some option in there (maybe "monomake console" )
        ... btw. I tried it with the Putty which I had already installed, but it got broken every time the mono reboots (probably because the COM-port disappears) ... which is bad when trying to hunt asserts that show up directly after reboot -.-

      2. I don't like it when Installer mess around with my PATH-variable (without tell me) ... and I prefer it to have no toolchains in my default cmd.exe
        A good example for an alternative solution is the Qt Windows installer. It creates a shortcut in startmenu for a cmd with the specific Qt-version ( e.g. "Qt 5.6 for Desktop (MinGW 4.9.2 32 bit)" )

      3. Maybe that's a general point ... on Windows I would expect to get some shortcuts into startmenu (e.g. the cmd-shortcut, link to document and maybe a link to this community site ;) )

      4. When looking into the monoprog folder, I remembered that for newer Qt5 versions it is nolonger needed to have a ICU dependency (which reduces installation/installer by ~20MB):
        http://doc.qt.io/qt-5/windows-requirements.html
        ... it seems this should even be possible with your qt5.4.1 (according to the linked document), but maybe the prebuild core-lib has still dependencies ... I think with Qt5.6, I didn't had the dependencies in the prebuild Qt (but I can't remember if I was using mingw or VS2013 while trying this)

      posted in Comments & Feedback
      R
      raute_at
    • Status of Wifi API?

      hi,
      I got my Mono today ... and wanted to start hacking my small project, but this would require wifi and some http communication.
      So, as there are no examples for using those API, I started looking into the include files and found the things I was looking for.
      As I wasn't able to figure out some of the flows/parameters, I looked through the official GIT and found this hardware-test:
      https://github.com/getopenmono/hardware_tests/blob/master/wifiTest/app_controller.cpp
      ... it seems it was written with an older redpine-API (as ModuleSPICommunication c'tor has less parameters)

      I even got my code compiling, but when it is installed the display is just blinking.
      ... so, I hacked around until I was able to see the console-output (I had to add a wait in main-function to attach PUTTY at the right time):
      mbed assertation failed: obj->pin != (PinName)NC, file: ./target_cypress/gpio_object.h, line 41

      ... but this also didn't really help as I don't see any pin which is still set to NC in my sourcecode

      So, more general my question:
      Should the wifi work with the current Installer(using win64)?
      Is there any up-to-date wifi example (or test-project)?

      posted in Mono Framework
      R
      raute_at