Code Monkey home page Code Monkey logo

primecomm's Introduction

PrimeComm

Small application/library suite to send and receive HP Prime Calculator files. Built reverse engineering the device. Calculator Hacking needs Pepsi, wanna help? :D

PrimeComm


Windows application to send, receive, convert programs and do other operations with the HP Prime Calculator. Is able to do some code refactoring, convert formats like images to something the HP Prime can display, etc:


PrimeCmd


Provides commandline access for PrimeComm operations.

PrimeSkin


Utility to edit Virtual Prime/39gII emulator skins.

PrimeLib

Library to include HP Prime calculator functions from PrimeComm on your application. Documentation available here: http://services.ried.cl/primecomm/Help/?topic=html/4c2db46f-2e91-7461-ee2e-68962685662e.htm

Example: Small example showing how to send and convert files:

using PrimeLib;

class Program
{
    static void Main(string[] args)
    {
         // Instantiate the first connected calculator
         var myCalculator = new PrimeCalculator();
         
         // This checks for hardware changes, there are events available too, 
         // to stay notified from Insertions and Removals as PrimeComm main app uses
         calculator.CheckForChanges();
         
         // Creates a ready to send data object, with a new name for the script, reading an existent program backup
         var myProgram = new PrimeUsbData("my program", new PrimeProgramFile(@"d:\my_program.hpprgm", false).Data, 
             myCalculator.OutputChunkSize);
         
         // Check if my calculator is connected, and send the program
         if(myCalculator.IsConnected)
             mycalculator.Send(myProgram);
         
         // Save and convert the program to plain text
         myProgram.Save(@"d:\my_program_backup.txt"); 
    }
}

Note: The current version 0.7 don't implement yet the Command Server mode arguments and since this was a major change to a library based applications, there are some small glitches yet when Receiving and then doing something else.

Demos

Version 0.1: https://www.youtube.com/watch?v=4QGBjOD3LHo (Send and receive)
Version 0.5: https://www.youtube.com/watch?v=FxG-R0QZ-qI (Conversion to plain text)
Version 0.7: https://www.youtube.com/watch?v=UVALe40TPkc (Command server mode)

Related

HID/USB Library: https://github.com/mikeobrien/HidLibrary
USB Library: https://bitbucket.org/adamfettig/usb (early version)
Source: https://github.com/eried/PrimeComm
Download last version: http://servicios.ried.cl/primecomm/
Details: http://ried.cl/proyecto/utilidad-para-intercambiar-archivos-con-la-hp-prime-primecomm/

primecomm's People

Contributors

eried avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.