#include <vxWorks.h>
#include <taskLib.h>
#include "Sio32Interface.h"
#include "BenthicBioApp.h"


extern int telnetTaskPriority;

extern "C" { 
#include "usrTime.h"
};



STATUS benthicBioApp(Nat16 serialChan)
{
  logMsg("starting benthicBioApp...\n");

  taskPrioritySet(taskIdSelf(), 250);
  
  logMsg("create Sio32Interface device...\n");  

  Sio32Interface *device = new Sio32Interface("benthicBioMicro", serialChan);

  BenthicBioApp *app = new BenthicBioApp("TIBURON", device);
  app->run();

  return 0;
}







