Harmony Net_Pres Question

Author
Aaron Hancock
Junior Member
  • Total Posts : 87
  • Reward points : 0
  • Joined: 2016/02/23 15:10:25
  • Location: Virginia, USA
  • Status: offline
2018/10/11 08:26:54 (permalink)
0

Harmony Net_Pres Question

A simple question:
Can http server and udp client/server work on the same PIC?  In other words, it the Harmony stack 'good enough' to handle multiple protocols? 
 
I am working on a custom board with a PIC32MZ2048EFH144, Harmony 2.05, etc.  The http server is working, but the UDP server fails on the call to the Berkeley bind - where bind calls NET_PRES_SocketBind.  I have followed the UDP Server demo as best I can, but still not working.
 
While I try to walk through the NET_PRES code, I thought I would throw the question out for the community.
 
Anybody? 
#1

2 Replies Related Threads

    friesen
    Super Member
    • Total Posts : 1972
    • Reward points : 0
    • Joined: 2008/05/08 05:23:35
    • Location: Indiana, USA
    • Status: offline
    Re: Harmony Net_Pres Question 2018/10/11 12:37:10 (permalink)
    0
    Yes, it can handle multiple protocols simultaneously.

    Erik Friesen
    #2
    Aaron Hancock
    Junior Member
    • Total Posts : 87
    • Reward points : 0
    • Joined: 2016/02/23 15:10:25
    • Location: Virginia, USA
    • Status: offline
    Re: Harmony Net_Pres Question 2018/10/17 07:32:04 (permalink)
    0
    I resolved the problem by removing the berkeley_api and net_pres layers in the MHC configuration and writing the application code to use the 'raw' UDP api, following the demo application as a guide.
     
    Life is good again.
    #3
    Jump to:
    © 2018 APG vNext Commercial Version 4.5