Skip to content

A minimal go module that generates a code to unlock a Renault car radio

License

Notifications You must be signed in to change notification settings

radcoderen/go-code-autoradio-renault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-code-autoradio-renault

Description

This is a minimal go module that generates a code to unlock a Renault car radio.

Usage

package main

import (
    "fmt"
    "github.com/radcoderen/go-code-autoradio-renault"
)

func main() {
    code, ok := autoradio.GenerateCode("A123")
    if ok {
        fmt.Println(code)
    } else {
        fmt.Println("The precode is not valid.")
    }
}

Documentation

The documentation is available on pkg.go.dev.

Executable

This module also provides an executable that can be used to generate the code.

Compilation from source

> go install github.com/radcoderen/go-code-autoradio-renault/cmd/renaultcode
> renaultcode A123

Download

You can download the executable from the releases page.

Codes

You can find all codes generated by renaultcode --all in the codes.txt file.

License

MIT